Midnight

#021832

General Information about Midnight (#021832)

The hex color #021832, also known as Midnight, is a very dark shade of blue that evokes feelings of depth, mystery, and sophistication. It is composed of 0.78% red, 9.41% green, and 20% blue. In the RGB color space, it is represented as (2, 24, 50). In the CMYK color space, it is composed of 96% cyan, 52% magenta, 0% yellow and 80% black. The color is often associated with night, the sea, and calmness. It's commonly used to convey elegance, depth, and sophistication in various design applications. Its darkness makes it suitable for backgrounds or elements where a subtle yet impactful presence is desired. Because the color is extremely dark, it is imperative that you use it with much lighter hues to provide the right contrast.

The hex color #021832, also known as Midnight, presents significant accessibility challenges, particularly in text applications. Its extremely low luminance (very dark) results in poor contrast against most background colors, especially white. According to WCAG guidelines, sufficient contrast is crucial for readability and usability for individuals with visual impairments. To ensure accessibility, pairing #021832 with light colors is paramount. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Tools like contrast checkers can verify adherence to these standards. When using #021832, consider providing alternative high-contrast themes or options for users to customize their viewing experience. Avoid using this color for essential interactive elements without proper contrast.

Shades

Digital Color Formats

RGB
2 24 50
RGB2 24 50
Red
Green
Blue
HSL
212.5deg 92.31% 10.2%
212.592.3110.2HSL
Hue
Saturation
Lightness
HWB
212.5deg 0.78% 80.39%
212.50.7880.39HWB
Hue
Whiteness
Blackness
hex#021832
rgb2 24 50
hsl212.5deg 92.31% 10.2%
cmyk96% 52% 0% 80.39%
hwb212.5deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2084 0.0593 253.32
oklab0.2084 -0.02 -0.06
CMYK
96% 52% 0% 80.39%
9652080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2084 0.0593 253.32
0.20840.0593253.32LCH
Lightness
Chroma
Hue
OKLAB
0.2084 -0.02 -0.06
0.2084-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons