Midnight

#020E32

General Information about #020E32 (Midnight)

The hex color #020E32, often referred to as "Midnight", is a very dark shade of blue, almost nearing black. It belongs to the blue color family but possesses a subdued and deep character. In the RGB color model, it consists of 0.8% red, 5.5% green, and 20% blue. This composition gives it a rich, dark tone, evoking feelings of depth, mystery, and sophistication. It is commonly used in designs where a sense of elegance, formality, or the night sky is desired. Midnight is frequently utilized in branding for companies aiming to project a sense of reliability and sophistication. Its use can also extend to digital interfaces, where it provides a dark, calming background that reduces eye strain, especially in low-light conditions, if paired with lighter fonts and elements.

The color #020E32, often referred to as Midnight, presents specific accessibility challenges, particularly concerning color contrast. When used as a background color, it necessitates very light text colors to ensure sufficient contrast for readability. A contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for larger text (14pt bold or 18pt regular) to meet WCAG AA standards. Using tools to evaluate contrast ratios is crucial. Given its darkness, #020E32 is best paired with shades of white, very light grays, or other high-luminosity colors. Avoid pairing it with mid-tone or dark colors, as this will result in poor readability and exclude users with visual impairments. Careful consideration of font size and weight can also mitigate contrast issues to some degree. Providing alternative styling options, such as a high-contrast mode, can further enhance accessibility.

Shades

Digital Color Formats

RGB
2 14 50
RGB2 14 50
Red
Green
Blue
HSL
225deg 92.31% 10.2%
22592.3110.2HSL
Hue
Saturation
Lightness
HWB
225deg 0.78% 80.39%
2250.7880.39HWB
Hue
Whiteness
Blackness
hex#020E32
rgb2 14 50
hsl225deg 92.31% 10.2%
cmyk96% 72% 0% 80.39%
hwb225deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1814 0.0744 263.17
oklab0.1814 -0.01 -0.07
CMYK
96% 72% 0% 80.39%
9672080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1814 0.0744 263.17
0.18140.0744263.17LCH
Lightness
Chroma
Hue
OKLAB
0.1814 -0.01 -0.07
0.1814-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons