Midnight

#06142F

General Information about #06142F

The hex color #06142f, also known as Midnight, is a very dark shade of blue. It is composed of 2.4% red, 7.8% green, and 18.4% blue. In the RGB color model, #06142f consists of 2.4/255 red, 7.8/255 green, and 18.4/255 blue. In the HSL (hue, saturation, lightness) color space, #06142f has a hue of 222 degrees, a saturation of 76.5%, and a lightness of 10.4%. This color is often associated with calmness, depth, and sophistication, making it a popular choice for various design applications. The color is not very bright or vibrant, giving it a subdued, refined aesthetic. Its dark nature also implies seriousness and elegance in design contexts. Because it's quite a dark color, it is typically paired with lighter colors to ensure contrast and readability.

The hex color #06142f, also known as Midnight, presents some accessibility challenges due to its low luminance. It falls short of recommended contrast ratios for text and user interface elements against a white or light background. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments to perceive content effectively. When using #06142f for text, a very light color like #ffffff or #f0f0f0 should be chosen for the background to provide the necessary contrast. Similarly, when using #06142f as a background, text should be in a light color. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Tools are available to test the contrast ratio between foreground and background colors to ensure compliance with accessibility standards. If sufficient contrast cannot be achieved, consider using a lighter shade of the base color or using a different color combination altogether to provide a better user experience for all users.

Shades

Digital Color Formats

RGB
6 20 47
RGB6 20 47
Red
Green
Blue
HSL
219.51deg 77.36% 10.39%
219.5177.3610.39HSL
Hue
Saturation
Lightness
HWB
219.51deg 2.35% 81.57%
219.512.3581.57HWB
Hue
Whiteness
Blackness
hex#06142F
rgb6 20 47
hsl219.51deg 77.36% 10.39%
cmyk87.23% 57.45% 0% 81.57%
hwb219.51deg 2.35% 81.57%
xyz-d650.01 0.01 0.03
oklch0.1971 0.0578 261.42
oklab0.1971 -0.01 -0.06
CMYK
87.23% 57.45% 0% 81.57%
87.2357.45081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1971 0.0578 261.42
0.19710.0578261.42LCH
Lightness
Chroma
Hue
OKLAB
0.1971 -0.01 -0.06
0.1971-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons