Midnight

#021B32

General Information about Midnight (#021B32)

The color #021B32, also known as Midnight, is a very dark shade of blue, almost black. It evokes feelings of calmness, sophistication, and depth. In the RGB color model, it is composed of 0.78% red, 10.59% green, and 20.0% blue. In the CMYK color model, it is composed of 96% cyan, 47% magenta, 0% yellow, and 80% black. This color is often associated with the night sky or deep ocean waters, symbolizing mystery and tranquility. It is frequently used in designs aiming to convey a sense of elegance, stability, or exclusivity. When working with this color, contrast is essential, and it is beneficial to pair it with light colors to ensure readability and visual appeal.

The hex color #021B32, also known as Midnight, presents significant accessibility challenges, especially in text-based contexts. Due to its very low luminance, text rendered in this color against a white or light-colored background would likely fail WCAG (Web Content Accessibility Guidelines) contrast ratio requirements. Specifically, the contrast ratio would fall far short of the minimum 4.5:1 for normal text and 3:1 for large text needed to ensure readability for users with visual impairments. To improve accessibility, it is crucial to pair #021B32 with very light colors, such as white (#FFFFFF) or a pale yellow, to provide sufficient contrast. Alternatively, consider using #021B32 sparingly for decorative elements or backgrounds, where its impact on readability is minimal. When using it for interactive elements, ensure that hover and focus states offer a significantly contrasting color to meet accessibility standards. Thoroughly testing color combinations with accessibility evaluation tools is recommended.

Shades

Digital Color Formats

RGB
2 27 50
RGB2 27 50
Red
Green
Blue
HSL
208.75deg 92.31% 10.2%
208.7592.3110.2HSL
Hue
Saturation
Lightness
HWB
208.75deg 0.78% 80.39%
208.750.7880.39HWB
Hue
Whiteness
Blackness
hex#021B32
rgb2 27 50
hsl208.75deg 92.31% 10.2%
cmyk96% 46% 0% 80.39%
hwb208.75deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2171 0.0552 248.77
oklab0.2171 -0.02 -0.05
CMYK
96% 46% 0% 80.39%
9646080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2171 0.0552 248.77
0.21710.0552248.77LCH
Lightness
Chroma
Hue
OKLAB
0.2171 -0.02 -0.05
0.2171-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons