Midnight

#021532

General Information about #021532 (Midnight)

The color #021532, commonly referred to as Midnight, is a very dark shade of blue. It belongs to the blue color family, yet its darkness often leads it to be perceived almost as black. In the RGB color model, it consists of 0.78% red, 8.24% green, and 20% blue. The CMYK representation is 96% cyan, 59% magenta, 0% yellow, and 80% black. Its hexadecimal code, #021532, provides a unique identifier for this specific shade. Colors like Midnight often evoke feelings of sophistication, calm, and mystery. Its depth and richness make it suitable for various applications, ranging from digital design to fashion, but careful consideration is needed to ensure readability and accessibility, especially in user interfaces.

The hex color #021532, a deep, almost black shade of blue often referred to as Midnight, presents significant accessibility challenges. Due to its extremely low luminance, it provides insufficient contrast against light backgrounds, making text and interactive elements difficult to read for users with visual impairments. Web developers should avoid using this color for primary text or important UI elements without ensuring a very high contrast ratio (at least 4.5:1 for normal text and 3:1 for large text, as per WCAG guidelines). Consider pairing it with very light colors like whites or light yellows to meet accessibility standards. Using tools to check color contrast is essential when incorporating such dark shades into designs to ensure usability for all users, including those with low vision or color blindness. Furthermore, rely on semantic HTML and ARIA attributes to provide alternative ways for users to understand content conveyed through color.

Shades

Digital Color Formats

RGB
2 21 50
RGB2 21 50
Red
Green
Blue
HSL
216.25deg 92.31% 10.2%
216.2592.3110.2HSL
Hue
Saturation
Lightness
HWB
216.25deg 0.78% 80.39%
216.250.7880.39HWB
Hue
Whiteness
Blackness
hex#021532
rgb2 21 50
hsl216.25deg 92.31% 10.2%
cmyk96% 58% 0% 80.39%
hwb216.25deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1999 0.0637 257.07
oklab0.1999 -0.01 -0.06
CMYK
96% 58% 0% 80.39%
9658080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1999 0.0637 257.07
0.19990.0637257.07LCH
Lightness
Chroma
Hue
OKLAB
0.1999 -0.01 -0.06
0.1999-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons