Midnight

#031E31

General Information about #031E31

The hex color #031E31, often referred to as 'Midnight,' is a very dark shade of blue, almost appearing black to the naked eye. It belongs to the blue color family, characterized by its low saturation and extremely low lightness value. In the RGB (Red, Green, Blue) color model, it consists of 1.18% red, 11.76% green, and 19.22% blue. In the CMYK (Cyan, Magenta, Yellow, Key/Black) color model, it comprises 94% cyan, 39% magenta, 0% yellow, and 81% black. This color evokes feelings of sophistication, depth, and calmness. Its near-black appearance makes it suitable for applications where subtlety and understated elegance are desired.

The hex color #031E31, also known as Midnight, presents significant accessibility challenges, particularly for users with visual impairments. Its very low luminance value (very close to black) results in extremely poor contrast against lighter backgrounds. Text rendered in #031E31 on a white or even moderately light background would be nearly unreadable for many users. Therefore, it is crucial to use this color sparingly and only in conjunction with very light foreground colors to ensure sufficient contrast, ideally exceeding the WCAG (Web Content Accessibility Guidelines) minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. Employing tools to check color contrast is essential. Avoid using this color for critical information, links, or interactive elements without careful consideration of contrast. Consider providing alternative themes or color options to accommodate users with different visual needs.

Shades

Digital Color Formats

RGB
3 30 49
RGB3 30 49
Red
Green
Blue
HSL
204.78deg 88.46% 10.2%
204.7888.4610.2HSL
Hue
Saturation
Lightness
HWB
204.78deg 1.18% 80.78%
204.781.1880.78HWB
Hue
Whiteness
Blackness
hex#031E31
rgb3 30 49
hsl204.78deg 88.46% 10.2%
cmyk93.88% 38.78% 0% 80.78%
hwb204.78deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2258 0.0495 242.93
oklab0.2258 -0.02 -0.04
CMYK
93.88% 38.78% 0% 80.78%
93.8838.78080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2258 0.0495 242.93
0.22580.0495242.93LCH
Lightness
Chroma
Hue
OKLAB
0.2258 -0.02 -0.04
0.2258-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons