Midnight

#02142F

General Information about #02142F

The hexadecimal color code #02142F, commonly referred to as Midnight, represents a very dark shade of blue. It is composed of 0.78% red, 7.84% green, and 18.43% blue. In the RGB color model, this translates to R:2, G:20, B:47. The CMYK representation is C:96, M:57, Y:0, K:82. The color's darkness is attributed to the low saturation and brightness values. It evokes feelings of sophistication, depth, and calmness, making it suitable for designs where these emotions are desired. Its usage requires careful consideration of contrast, especially when combined with text, to ensure readability and accessibility.

The hex color #02142F, also known as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a background color, it requires extremely light text to ensure sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #02142F may necessitate a contrast ratio exceeding these recommendations, potentially limiting color choices for foreground elements. Careful consideration is needed to avoid excluding users with visual impairments. Testing with accessibility tools is crucial to validate contrast ratios and ensure compliance with accessibility standards, promoting an inclusive user experience. It's vital to provide alternative styling options or high contrast themes for users who need them.

Shades

Digital Color Formats

RGB
2 20 47
RGB2 20 47
Red
Green
Blue
HSL
216 91.84% 9.61%
21691.849.61HSL
Hue
Saturation
Lightness
HWB
216 0.78% 81.57%
2160.7881.57HWB
Hue
Whiteness
Blackness
hex#02142F
rgb2 20 47
hsl216 91.84% 9.61%
cmyk95.74% 57.45% 0% 81.57%
hwb216 0.78% 81.57%
xyz-d650.01 0.01 0.03
oklch0.1943 0.0602 256.56
oklab0.1943 -0.01 -0.06
CMYK
95.74% 57.45% 0% 81.57%
95.7457.45081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1943 0.0602 256.56
0.19430.0602256.56LCH
Lightness
Chroma
Hue
OKLAB
0.1943 -0.01 -0.06
0.1943-0.01-0.06LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons