Midnight

#021232

General Information about #021232 (Midnight)

The hex color #021232, often referred to as 'Midnight,' is a deep, dark shade of blue, almost appearing black. It is composed of very low values of red (2), green (18), and blue (50) in the RGB color model. This color is frequently associated with calmness, sophistication, and mystery. In color psychology, dark blues like #021232 can evoke feelings of trust, loyalty, and stability. Due to its low luminance, it is generally used as a background color or an accent color, requiring careful consideration of color contrast to ensure readability and accessibility, especially in digital interfaces and web design where clear visibility is paramount for an optimal user experience.

The hex color #021232, also known as Midnight, presents significant accessibility challenges, particularly concerning color contrast. When used as a background color, it necessitates very light text colors to ensure readability. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text to meet WCAG (Web Content Accessibility Guidelines) standards. Without adequate contrast, users with visual impairments, including those with low vision or color blindness, may struggle to perceive the content. Tools like contrast checkers can help evaluate and adjust color pairings to meet these accessibility requirements. Careful consideration of luminance and color differences is crucial to provide an inclusive user experience.

Shades

Digital Color Formats

RGB
2 18 50
RGB2 18 50
Red
Green
Blue
HSL
220deg 92.31% 10.2%
22092.3110.2HSL
Hue
Saturation
Lightness
HWB
220deg 0.78% 80.39%
2200.7880.39HWB
Hue
Whiteness
Blackness
hex#021232
rgb2 18 50
hsl220deg 92.31% 10.2%
cmyk96% 64% 0% 80.39%
hwb220deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1917 0.0683 260.1
oklab0.1917 -0.01 -0.07
CMYK
96% 64% 0% 80.39%
9664080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1917 0.0683 260.1
0.19170.0683260.1LCH
Lightness
Chroma
Hue
OKLAB
0.1917 -0.01 -0.07
0.1917-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons