Midnight

#021732

General Information about #021732

The hex color #021732, often referred to as "Midnight", is a very dark shade of blue, almost appearing black. It is composed of 0.8% red, 8.6% green, and 20% blue. In the RGB color space, this equates to R:2, G:23, and B:50. Its primary characteristic is its low luminance, making it a subtle and sophisticated choice. The color is often associated with tranquility, depth, and mystery, evoking a sense of calm and introspection. Due to its dark nature, it is important to use it carefully in designs, pairing it with lighter colors to ensure readability and visual balance. It is often used in formal designs or to convey a sense of elegance and professionalism.

The hex color #021732, a deep, dark hue reminiscent of midnight, presents significant accessibility challenges. Its extremely low luminance results in very poor contrast against standard light backgrounds, making text or interface elements using this color difficult for users with visual impairments to discern. According to WCAG guidelines, it would fail most contrast ratio tests, particularly for small text. To enhance accessibility, it's crucial to pair this color with very light shades, ideally whites or near-whites, to achieve a sufficient contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. When used for non-text elements, a contrast ratio of 3:1 should be maintained against adjacent colors. Avoid using this color for essential information or interactive elements without careful consideration of contrast. Offering alternative color schemes or a high-contrast mode is highly recommended to cater to a wider audience and ensure inclusive design.

Shades

Digital Color Formats

RGB
2 23 50
RGB2 23 50
Red
Green
Blue
HSL
213.75deg 92.31% 10.2%
213.7592.3110.2HSL
Hue
Saturation
Lightness
HWB
213.75deg 0.78% 80.39%
213.750.7880.39HWB
Hue
Whiteness
Blackness
hex#021732
rgb2 23 50
hsl213.75deg 92.31% 10.2%
cmyk96% 54% 0% 80.39%
hwb213.75deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2055 0.0607 254.66
oklab0.2055 -0.02 -0.06
CMYK
96% 54% 0% 80.39%
9654080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2055 0.0607 254.66
0.20550.0607254.66LCH
Lightness
Chroma
Hue
OKLAB
0.2055 -0.02 -0.06
0.2055-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons