Midnight

#021A32

General Information

The hexadecimal color code #021a32 represents a very dark shade of blue, often referred to as Midnight. In the RGB color model, it is composed of 0.78% red, 10.2% green, and 20% blue. The color is characterized by its low saturation and brightness values, making it appear almost black. In the HSV (hue, saturation, value) color space, its hue is around 210 degrees, saturation is 96%, and value is 20%. Colors similar to #021a32 evoke feelings of calmness, depth, and sophistication. It is often associated with nighttime, mystery, and elegance.

The hex color #021a32, also known as Midnight, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance value means that it requires a very light foreground color to achieve sufficient contrast for readability, adhering to WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #021a32 for backgrounds or elements that need to be easily seen can hinder usability for individuals with visual impairments, including those with low vision or color blindness. Therefore, developers should carefully evaluate color combinations, utilizing tools to check contrast ratios and considering alternative, more accessible color choices or implementing high-contrast modes.

Shades

Digital Color Formats

RGB
2 26 50
RGB2 26 50
Red
Green
Blue
HSL
210deg 92.31% 10.2%
21092.3110.2HSL
Hue
Saturation
Lightness
HWB
210deg 0.78% 80.39%
2100.7880.39HWB
Hue
Whiteness
Blackness
hex#021A32
rgb2 26 50
hsl210deg 92.31% 10.2%
cmyk96% 48% 0% 80.39%
hwb210deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2142 0.0566 250.38
oklab0.2142 -0.02 -0.05
CMYK
96% 48% 0% 80.39%
9648080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2142 0.0566 250.38
0.21420.0566250.38LCH
Lightness
Chroma
Hue
OKLAB
0.2142 -0.02 -0.05
0.2142-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons