Midnight

#031D31

General Information about #031D31

The hex color #031d31, also known as Midnight, is a very dark, muted shade of blue. In the RGB color model, it is composed of 1.18% red, 11.37% green, and 19.22% blue. In the CMYK color model, if we think of its applicability to print, it consists of 93.84% cyan, 40.78% magenta, 0% yellow, and 80.78% black. This implies that it is very difficult for the human eye to tell the difference between #031d31 and solid black. Because the amount of red is so low, the color cannot be used in red themes and, because it has a strong amount of green and blue, it can be used in winter themes.

The hex color #031d31, a deep and muted shade reminiscent of midnight, presents significant accessibility challenges. Its low luminance value (very dark) means that text rendered in this color against a white or light background will have extremely poor contrast, failing WCAG standards for readability. To ensure inclusivity, it is imperative to avoid using #031d31 for text or interactive elements unless paired with a very light color. Consider using a contrast checker to verify compliance. Even for decorative purposes, its use should be minimal, as it can be difficult for users with low vision to discern details. Proper use of ARIA attributes can help to overcome the problems when using this dark shade in UI elements, but one should always make sure to pick another color that works well with #031d31.

Shades

Digital Color Formats

RGB
3 29 49
RGB3 29 49
Red
Green
Blue
HSL
206.09deg 88.46% 10.2%
206.0988.4610.2HSL
Hue
Saturation
Lightness
HWB
206.09deg 1.18% 80.78%
206.091.1880.78HWB
Hue
Whiteness
Blackness
hex#031D31
rgb3 29 49
hsl206.09deg 88.46% 10.2%
cmyk93.88% 40.82% 0% 80.78%
hwb206.09deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2228 0.0506 244.96
oklab0.2228 -0.02 -0.05
CMYK
93.88% 40.82% 0% 80.78%
93.8840.82080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2228 0.0506 244.96
0.22280.0506244.96LCH
Lightness
Chroma
Hue
OKLAB
0.2228 -0.02 -0.05
0.2228-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons