Midnight

#031B31

General Information about #031B31

The hex color code #031B31, also known as Midnight, is a very dark shade of blue. It belongs to the family of blue colors. In the RGB color model, #031B31 is composed of 1.18% red, 10.59% green, and 19.22% blue. This translates to an RGB value of (3, 27, 49). In the CMYK color model, it consists of 93.88% cyan, 44.9% magenta, 0% yellow, and 80.78% black. This color is often associated with sophistication, calmness, and depth. Due to its low saturation, it is often used as a neutral or background color in design projects. It is commonly used in nighttime scenes or themes associated with the dark.

The hex color #031B31, also known as Midnight, presents significant accessibility challenges, particularly in text applications. Its very low luminance value (being quite dark) necessitates careful consideration of contrast ratios against background colors. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments to perceive content effectively. For text to be readable, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Given the darkness of #031B31, it generally requires very light or white text to meet these standards. When used for interactive elements such as buttons or links, ensure that hover, focus, and active states also maintain adequate contrast. Avoid pairing #031B31 with other dark colors, as this will inevitably lead to accessibility issues. Careful testing with accessibility evaluation tools is strongly advised.

Shades

Digital Color Formats

RGB
3 27 49
RGB3 27 49
Red
Green
Blue
HSL
208.7deg 88.46% 10.2%
208.788.4610.2HSL
Hue
Saturation
Lightness
HWB
208.7deg 1.18% 80.78%
208.71.1880.78HWB
Hue
Whiteness
Blackness
hex#031B31
rgb3 27 49
hsl208.7deg 88.46% 10.2%
cmyk93.88% 44.9% 0% 80.78%
hwb208.7deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2169 0.053 248.72
oklab0.2169 -0.02 -0.05
CMYK
93.88% 44.9% 0% 80.78%
93.8844.9080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2169 0.053 248.72
0.21690.053248.72LCH
Lightness
Chroma
Hue
OKLAB
0.2169 -0.02 -0.05
0.2169-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons