Midnight

#07172D

General Information about Midnight (#07172D)

The hex color code #07172D, often referred to as Midnight, is a very dark shade of blue. In the RGB color model, it is composed of 2.75% red, 8.63% green, and 17.65% blue. This translates to a dark, cool tone that is close to black. The color is often associated with depth, mystery, and sophistication. In color psychology, dark blues can evoke feelings of calmness and security, but also sadness or isolation. The hexadecimal system represents colors using a combination of six letters and numbers, where each pair represents the intensity of red, green, and blue respectively. The lower the numerical value, the darker the color will be. Midnight represents the darkness and calmness of the night.

The hex color #07172D, often referred to as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a background color, it requires extremely light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet AA compliance. Given the darkness of #07172D, achieving these ratios necessitates careful selection of foreground colors. Designers should use color contrast checkers to verify compliance and consider providing alternative color schemes for users with visual impairments. It's generally advisable to avoid using this color for large blocks of text or interactive elements without thoroughly testing its impact on usability.

Shades

Digital Color Formats

RGB
7 23 45
RGB7 23 45
Red
Green
Blue
HSL
214.74deg 73.08% 10.2%
214.7473.0810.2HSL
Hue
Saturation
Lightness
HWB
214.74deg 2.75% 82.35%
214.742.7582.35HWB
Hue
Whiteness
Blackness
hex#07172D
rgb7 23 45
hsl214.74deg 73.08% 10.2%
cmyk84.44% 48.89% 0% 82.35%
hwb214.74deg 2.75% 82.35%
xyz-d650.01 0.01 0.03
oklch0.2045 0.0493 256.64
oklab0.2045 -0.01 -0.05
CMYK
84.44% 48.89% 0% 82.35%
84.4448.89082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2045 0.0493 256.64
0.20450.0493256.64LCH
Lightness
Chroma
Hue
OKLAB
0.2045 -0.01 -0.05
0.2045-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons