Midnight

#021C32

General Information about #021C32

The hex color #021C32, often referred to as "Midnight," is a deep, dark shade of blue. In the RGB (Red, Green, Blue) color model, it consists of 2 parts red, 28 parts green, and 50 parts blue. Converting this to the CMYK (Cyan, Magenta, Yellow, Black) model, the color is composed of 96% cyan, 44% magenta, 0% yellow, and 80% black. This composition contributes to its depth and richness. Midnight blue has a hexadecimal value of #021C32, is part of the blue color family, and its darkness is a consequence of its low luminance value. Colors similar to #021C32 include other dark blues and shades of black, but the slight blue hue differentiates it, providing a sense of calm and sophistication. It's frequently used when trying to emulate a dark and elegant look.

The hex color #021c32, also known as Midnight, presents unique accessibility challenges. Its very low luminance value (darkness) necessitates careful consideration of color contrast, particularly when used for text or interactive elements. According to WCAG guidelines, sufficient contrast between foreground and background colors is crucial for users with visual impairments. When using #021c32 as a background color, ensure text is light enough to meet the minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. White or very light shades of yellow or green are often suitable pairings. Avoid using similarly dark or muted colors as foreground elements, as these will likely fail accessibility checks. Proper testing with accessibility evaluation tools and, ideally, user testing with individuals with visual impairments, is recommended to ensure optimal usability and inclusivity.

Shades

Digital Color Formats

RGB
2 28 50
RGB2 28 50
Red
Green
Blue
HSL
207.5deg 92.31% 10.2%
207.592.3110.2HSL
Hue
Saturation
Lightness
HWB
207.5deg 0.78% 80.39%
207.50.7880.39HWB
Hue
Whiteness
Blackness
hex#021C32
rgb2 28 50
hsl207.5deg 92.31% 10.2%
cmyk96% 44% 0% 80.39%
hwb207.5deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2201 0.054 247.06
oklab0.2201 -0.02 -0.05
CMYK
96% 44% 0% 80.39%
9644080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2201 0.054 247.06
0.22010.054247.06LCH
Lightness
Chroma
Hue
OKLAB
0.2201 -0.02 -0.05
0.2201-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons