Midnight

#031732

General Information

The hex color code #031732 represents a very dark shade of blue, often referred to as "Midnight." It is composed of 1.18% red, 9.02% green, and 20% blue. In the RGB color space, it has the values (3, 23, 50). The color is primarily used to convey feelings of calmness, depth, and sophistication. Due to its low luminance value, it is perceived as a very dark color. When converting to CMYK for print purposes, the values are approximately 94% cyan, 54% magenta, 0% yellow, and 80% black. This color is often used in contexts where a sense of mystery or formality is desired.

The hex color #031732, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. Its dark nature results in very poor contrast against standard light backgrounds, making text and other visual elements difficult to perceive for users, especially those with visual impairments. According to WCAG guidelines, this color fails all contrast ratio tests for normal-sized text against a white background. To improve accessibility, it is crucial to pair this color with very light shades such as white (#FFFFFF) or very light grays. Using larger text sizes or adding visual cues such as borders or backgrounds can also help to enhance legibility. Avoid using #031732 for critical information or interactive elements without sufficient contrast to ensure inclusivity.

Shades

Digital Color Formats

RGB
3 23 50
RGB3 23 50
Red
Green
Blue
HSL
214.47deg 88.68% 10.39%
214.4788.6810.39HSL
Hue
Saturation
Lightness
HWB
214.47deg 1.18% 80.39%
214.471.1880.39HWB
Hue
Whiteness
Blackness
hex#031732
rgb3 23 50
hsl214.47deg 88.68% 10.39%
cmyk94% 54% 0% 80.39%
hwb214.47deg 1.18% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2061 0.0601 255.72
oklab0.2061 -0.01 -0.06
CMYK
94% 54% 0% 80.39%
9454080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2061 0.0601 255.72
0.20610.0601255.72LCH
Lightness
Chroma
Hue
OKLAB
0.2061 -0.01 -0.06
0.2061-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons