Midnight

#021D33

General Information about #021D33

The hex color #021D33, often referred to as 'Midnight,' is a very dark shade of blue, almost black. It belongs to the family of blue hues but possesses a depth and intensity that sets it apart. In the RGB (Red, Green, Blue) color model, it's composed of 1.8% red, 11.4% green, and 20% blue. In the CMYK (Cyan, Magenta, Yellow, Key/Black) color model, it's composed of 91% cyan, 43% magenta, 0% yellow, and 80% black. This color evokes feelings of sophistication, mystery, and calmness. Its association with the night sky and the deep sea gives it a sense of depth and tranquility. Due to its dark nature, it's often used in designs where a strong, grounding presence is desired. It finds applications across various fields, from web design to fashion and interior decoration.

The hex color #021D33, also known as Midnight, presents some accessibility challenges due to its very dark nature. When used as a background color, it is crucial to ensure that any foreground text or elements have sufficient contrast to meet WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. White or very light colors work best as foreground elements to ensure readability. Avoid pairing it with other dark hues, as this can make content difficult or impossible for users with visual impairments to perceive. Consider providing alternative themes or color palettes that offer higher contrast options for users who need them. Using tools to check contrast ratios during the design process is highly advisable. Careful consideration of text size and weight can also help mitigate some of the accessibility issues with such a dark background.

Shades

Digital Color Formats

RGB
2 29 51
RGB2 29 51
Red
Green
Blue
HSL
206.94deg 92.45% 10.39%
206.9492.4510.39HSL
Hue
Saturation
Lightness
HWB
206.94deg 0.78% 80%
206.940.7880HWB
Hue
Whiteness
Blackness
hex#021D33
rgb2 29 51
hsl206.94deg 92.45% 10.39%
cmyk96.08% 43.14% 0% 80%
hwb206.94deg 0.78% 80%
xyz-d650.01 0.01 0.03
oklch0.2238 0.0543 246.4
oklab0.2238 -0.02 -0.05
CMYK
96.08% 43.14% 0% 80%
96.0843.14080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2238 0.0543 246.4
0.22380.0543246.4LCH
Lightness
Chroma
Hue
OKLAB
0.2238 -0.02 -0.05
0.2238-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons