Midnight

#021132

General Information about #021132

The hexadecimal color #021132, also known as Midnight, is a very dark shade of blue. It's composed of 0.78% red, 6.67% green, and 20.0% blue. In the RGB color model, it has the values 2, 17, and 32 respectively. This color is often associated with calmness, mystery, and sophistication, making it a popular choice for designs aiming to evoke these emotions. Its darkness means it has a very low luminance value, which impacts its accessibility and use in web and graphic design. The color is often used to invoke feelings of night and darkness, making it suitable for themes and designs representing such concepts. It’s a complex color often used to suggest something serious or formal.

The hex color #021132, a very dark shade of blue often referred to as Midnight, presents significant accessibility challenges. Its extremely low luminance value makes it difficult to achieve sufficient contrast with lighter text or user interface elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text to ensure readability for users with visual impairments. When using #021132 as a background color, it's crucial to pair it with very light text colors, such as white or very light grays, to meet these contrast requirements. Tools like contrast checkers can help determine if the chosen color combination meets accessibility standards. Consider alternatives if sufficient contrast cannot be achieved, or use it sparingly for decorative elements where text legibility is not critical. Also, ensure the design provides alternative visual cues beyond color, such as text labels or icons, to cater to users with color vision deficiencies.

Shades

Digital Color Formats

RGB
2 17 50
RGB2 17 50
Red
Green
Blue
HSL
221.25deg 92.31% 10.2%
221.2592.3110.2HSL
Hue
Saturation
Lightness
HWB
221.25deg 0.78% 80.39%
221.250.7880.39HWB
Hue
Whiteness
Blackness
hex#021132
rgb2 17 50
hsl221.25deg 92.31% 10.2%
cmyk96% 66% 0% 80.39%
hwb221.25deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.189 0.0698 260.97
oklab0.189 -0.01 -0.07
CMYK
96% 66% 0% 80.39%
9666080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.189 0.0698 260.97
0.1890.0698260.97LCH
Lightness
Chroma
Hue
OKLAB
0.189 -0.01 -0.07
0.189-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons