Midnight

#031931

General Information about #031931

The hex color #031931, also known as Midnight, is a very dark shade of blue, almost appearing black. It belongs to the blue color family but has extremely low saturation and high darkness. In the RGB color model, it consists of 1.18% red, 9.8% green, and 19.22% blue. Its calmness makes it applicable for designs where tranquility needs to be achieved. The color's hex code is used in web design and graphic design to define the color precisely. Due to its deep and subdued nature, it's often associated with sophistication, elegance, and mystery. It is a cool-toned color, which adds to its calming effect.

The hex color #031931, a very dark, almost black shade, presents significant accessibility challenges. Its extremely low luminance makes it difficult to read text rendered in this color against a light background, or vice versa. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text. Given its darkness, #031931 will likely fail these contrast tests against most backgrounds, necessitating careful consideration. To improve accessibility, pairing it with very light colors, and using larger font sizes and bold weights can help. However, thorough testing with accessibility tools is essential to ensure readability for users with visual impairments.

Shades

Digital Color Formats

RGB
3 25 49
RGB3 25 49
Red
Green
Blue
HSL
211.3deg 88.46% 10.2%
211.388.4610.2HSL
Hue
Saturation
Lightness
HWB
211.3deg 1.18% 80.78%
211.31.1880.78HWB
Hue
Whiteness
Blackness
hex#031931
rgb3 25 49
hsl211.3deg 88.46% 10.2%
cmyk93.88% 48.98% 0% 80.78%
hwb211.3deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.211 0.0557 252.08
oklab0.211 -0.02 -0.05
CMYK
93.88% 48.98% 0% 80.78%
93.8848.98080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.211 0.0557 252.08
0.2110.0557252.08LCH
Lightness
Chroma
Hue
OKLAB
0.211 -0.02 -0.05
0.211-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons