Midnight

#021032

General Information About Midnight (#021032)

The hex color code #021032, often referred to as 'Midnight,' represents a very dark shade of blue. In the RGB color model, it consists of 0.78% red, 6.27% green, and 19.61% blue. This color is located within the blue-violet spectrum and is characterized by its low saturation and luminance. It is commonly associated with depth, mystery, and sophistication. In color psychology, dark blues like #021032 can evoke feelings of calmness and security. Due to its darkness, it is primarily used as a background color or as an accent color when paired with lighter hues to ensure sufficient contrast and readability.

The color #021032, also known as Midnight, presents significant accessibility challenges. Its extremely dark hue results in very low contrast against lighter backgrounds, which is essential for readability. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments, including those with low vision or color blindness. Using #021032 for text or interactive elements on a light background would likely fail accessibility standards. To improve accessibility, consider pairing this color with much lighter shades or using it sparingly for purely decorative purposes. Ensure text using this color has a contrast ratio of at least 4.5:1 against its background, or 3:1 for large text. Providing alternative high-contrast themes can also enhance the user experience for those who need it.

Shades

Digital Color Formats

RGB
2 16 50
RGB2 16 50
Red
Green
Blue
HSL
222.5deg 92.31% 10.2%
222.592.3110.2HSL
Hue
Saturation
Lightness
HWB
222.5deg 0.78% 80.39%
222.50.7880.39HWB
Hue
Whiteness
Blackness
hex#021032
rgb2 16 50
hsl222.5deg 92.31% 10.2%
cmyk96% 68% 0% 80.39%
hwb222.5deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1864 0.0714 261.77
oklab0.1864 -0.01 -0.07
CMYK
96% 68% 0% 80.39%
9668080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1864 0.0714 261.77
0.18640.0714261.77LCH
Lightness
Chroma
Hue
OKLAB
0.1864 -0.01 -0.07
0.1864-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons