Midnight

#021E32

General Information about #021E32

The hexadecimal color code #021E32 represents a very dark shade of blue, often referred to as Midnight. In the RGB (red, green, blue) color model, it comprises 0.78% red, 11.76% green, and 19.61% blue. This composition results in a color that is perceived as deep, cool, and somewhat somber. #021E32 is commonly used in designs where a sense of sophistication and understated elegance is desired. Its dark nature implies stability and trustworthiness, making it a popular choice for corporate branding, particularly within the tech and finance industries. However, due to its low luminance, care must be taken to ensure sufficient contrast when used in conjunction with text or other visual elements.

The hex color #021E32, a very dark shade of blue also known as Midnight, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance value makes it difficult to distinguish from black, posing readability issues for users, especially those with visual impairments. To ensure accessibility, it is crucial to use #021E32 sparingly and primarily for decorative purposes. When used as a background color, employ a very light foreground text color, such as white or a pale yellow, to create sufficient contrast. Adhering to WCAG guidelines for contrast ratios is essential; a contrast ratio of at least 4.5:1 for standard text and 3:1 for large text is recommended. Using tools to evaluate color contrast is vital in confirming adherence to these standards. Avoid using #021E32 for essential information or interactive elements without careful consideration of contrast.

Shades

Digital Color Formats

RGB
2 30 50
RGB2 30 50
Red
Green
Blue
HSL
205deg 92.31% 10.2%
20592.3110.2HSL
Hue
Saturation
Lightness
HWB
205deg 0.78% 80.39%
2050.7880.39HWB
Hue
Whiteness
Blackness
hex#021E32
rgb2 30 50
hsl205deg 92.31% 10.2%
cmyk96% 40% 0% 80.39%
hwb205deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.226 0.0516 243.36
oklab0.226 -0.02 -0.05
CMYK
96% 40% 0% 80.39%
9640080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.226 0.0516 243.36
0.2260.0516243.36LCH
Lightness
Chroma
Hue
OKLAB
0.226 -0.02 -0.05
0.226-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons