Midnight

#07172E

General Information about #07172E (Midnight)

The hexadecimal color code #07172E, commonly known as Midnight, represents a very dark shade of blue, bordering on black. It is composed of 2.75% red, 9.02% green, and 18.04% blue. In the RGB color space, it translates to (7, 23, 46). This color possesses a very low saturation and brightness, contributing to its muted and dark appearance. Colors like this are often used to convey feelings of calmness, sophistication, or mystery. Its darkness can make it challenging to use as a primary color in designs that require high visibility, but it works well in background applications.

The hex color #07172E, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. Its dark nature results in very poor contrast against typical light backgrounds, making it difficult for users with visual impairments to discern text or graphical elements. Web developers must exercise extreme caution when using this color. It is strongly advised to pair it only with very light colors to meet accessibility standards such as WCAG. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is crucial. Consider using accessibility checkers to ensure compliance. Avoid using this color for crucial UI elements, and provide alternative high-contrast themes to accommodate users with visual sensitivities. Furthermore, be mindful of users with color blindness, as subtle nuances may be lost due to the darkness of the color.

Shades

Digital Color Formats

RGB
7 23 46
RGB7 23 46
Red
Green
Blue
HSL
215.38deg 73.58% 10.39%
215.3873.5810.39HSL
Hue
Saturation
Lightness
HWB
215.38deg 2.75% 81.96%
215.382.7581.96HWB
Hue
Whiteness
Blackness
hex#07172E
rgb7 23 46
hsl215.38deg 73.58% 10.39%
cmyk84.78% 50% 0% 81.96%
hwb215.38deg 2.75% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2053 0.051 257.42
oklab0.2053 -0.01 -0.05
CMYK
84.78% 50% 0% 81.96%
84.7850081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2053 0.051 257.42
0.20530.051257.42LCH
Lightness
Chroma
Hue
OKLAB
0.2053 -0.01 -0.05
0.2053-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons