Midnight

#020A32

General Information about #020A32

The hex color code #020A32 represents a very dark shade of blue, often described as 'Midnight'. It is composed of 0.78% red, 3.92% green, and 20.0% blue. In the RGB color model, it has values of R:2, G:10, B:32. The corresponding CMYK color code is C:94, M:69, Y:0, K:87. This color is typically associated with feelings of calmness, sophistication, and mystery. Due to its high darkness, it is often used as a background color or for elements where a subtle, understated effect is desired. The color is often avoided for text and requires careful pairing with lighter colors to ensure legibility and accessibility. Its dark nature also makes it suitable for creating a sense of depth or shadow in designs.

The hex color #020A32, a deep, dark shade of blue often referred to as Midnight, presents significant accessibility challenges, particularly in text applications. Its extremely low lightness value necessitates very light text colors to achieve sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text. Given the darkness of #020A32, only pale yellows, whites, or very light grays are likely to meet these standards. When using this color for backgrounds, careful consideration must be given to text color selection to ensure accessibility for users with visual impairments. Furthermore, avoid using this color for essential graphical elements without high-contrast alternatives. Providing options for users to adjust color schemes can also enhance accessibility when employing such dark hues.

Shades

Digital Color Formats

RGB
2 10 50
RGB2 10 50
Red
Green
Blue
HSL
230deg 92.31% 10.2%
23092.3110.2HSL
Hue
Saturation
Lightness
HWB
230deg 0.78% 80.39%
2300.7880.39HWB
Hue
Whiteness
Blackness
hex#020A32
rgb2 10 50
hsl230deg 92.31% 10.2%
cmyk96% 80% 0% 80.39%
hwb230deg 0.78% 80.39%
xyz-d650.01 0 0.03
oklch0.172 0.0803 265.29
oklab0.172 -0.01 -0.08
CMYK
96% 80% 0% 80.39%
9680080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0 0.03
0.0100.03XYZ
X
Y
Z
OKLCH
0.172 0.0803 265.29
0.1720.0803265.29LCH
Lightness
Chroma
Hue
OKLAB
0.172 -0.01 -0.08
0.172-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons