Midnight

#02142D

General Information about #02142D

The hex color #02142D, often referred to as Midnight, is a very dark shade of blue. In the RGB color model, it is composed of 0.78% red, 7.84% green, and 17.65% blue. This composition places it firmly within the blue color spectrum, albeit at the darker end. In the CMYK color model, used for printing, its composition is 96% cyan, 56% magenta, 0% yellow, and 82% black. This indicates that to reproduce this color accurately in print, a significant amount of cyan and black ink is required. Midnight is often associated with feelings of sophistication, calmness, and depth. Its dark nature makes it a versatile color for backgrounds and accents in various design applications. It's a color that conveys a sense of formality and professionalism.

The hex color #02142D, also known as Midnight, presents some accessibility challenges, particularly concerning color contrast. When used as a background color, it requires very light text colors to ensure readability. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Using #02142D for both background and foreground elements would likely fail these criteria. Designers should carefully choose text colors, such as white or very light shades of yellow or green, and verify contrast ratios using online tools. Additionally, providing alternative styling options, like a high-contrast mode, can significantly improve accessibility for all users. The color should never be used as the sole method to convey important information.

Shades

Digital Color Formats

RGB
2 20 45
RGB2 20 45
Red
Green
Blue
HSL
214.88 91.49% 9.22%
214.8891.499.22HSL
Hue
Saturation
Lightness
HWB
214.88 0.78% 82.35%
214.880.7882.35HWB
Hue
Whiteness
Blackness
hex#02142D
rgb2 20 45
hsl214.88 91.49% 9.22%
cmyk95.56% 55.56% 0% 82.35%
hwb214.88 0.78% 82.35%
xyz-d650.01 0.01 0.03
oklch0.1925 0.0568 255.27
oklab0.1925 -0.01 -0.05
CMYK
95.56% 55.56% 0% 82.35%
95.5655.56082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1925 0.0568 255.27
0.19250.0568255.27LCH
Lightness
Chroma
Hue
OKLAB
0.1925 -0.01 -0.05
0.1925-0.01-0.05LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons