Midnight

#021437

General Information about Midnight (#021437)

The hex color #021437, often referred to as Midnight, is a very dark shade of blue, almost nearing black. It is composed of 0.8% red, 7.8% green, and 21.6% blue. This color is frequently associated with feelings of tranquility, mystery, and sophistication. In color psychology, dark blues are often linked to intelligence, stability, and unity. Midnight is often used to evoke a sense of depth and seriousness. It's a versatile color that can be used in a variety of design contexts, from web design to interior decorating, where a deep, muted tone is desired. Because it is so dark, it's most effective when paired with lighter colors to provide contrast and ensure readability.

The hex color #021437, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. Its low luminance results in very poor contrast against lighter backgrounds, making it difficult for users with visual impairments to read text or discern important visual elements. According to WCAG guidelines, this color fails most contrast ratio tests, especially for small text. To improve accessibility, it is crucial to pair this color with much lighter shades such as white, light grays, or vibrant pastels. Avoid using it for crucial information without ensuring a high contrast ratio. Careful consideration of font sizes and weights can also partially mitigate the contrast issues, but lighter color pairings are always recommended for optimal accessibility. The dark hue can cause discomfort for users with light sensitivity.

Shades

Digital Color Formats

RGB
2 20 55
RGB2 20 55
Red
Green
Blue
HSL
219.62deg 92.98% 11.18%
219.6292.9811.18HSL
Hue
Saturation
Lightness
HWB
219.62deg 0.78% 78.43%
219.620.7878.43HWB
Hue
Whiteness
Blackness
hex#021437
rgb2 20 55
hsl219.62deg 92.98% 11.18%
cmyk96.36% 63.64% 0% 78.43%
hwb219.62deg 0.78% 78.43%
xyz-d650.01 0.01 0.04
oklch0.202 0.0735 260.12
oklab0.202 -0.01 -0.07
CMYK
96.36% 63.64% 0% 78.43%
96.3663.64078.43CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.202 0.0735 260.12
0.2020.0735260.12LCH
Lightness
Chroma
Hue
OKLAB
0.202 -0.01 -0.07
0.202-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons