Midnight

#031B33

General Information about #031B33

The hexadecimal color code #031B33 represents a dark shade of blue, often referred to as "Midnight". In the RGB color model, it is composed of 1.18% red, 10.59% green, and 20% blue. This indicates that the color is heavily skewed towards the blue end of the spectrum, resulting in its deep, shadowy appearance. In the HSL (hue, saturation, lightness) color space, #031B33 has a hue of 212 degrees, a saturation of 89.5%, and a lightness of 10.6%. This further confirms its position as a highly saturated, dark blue. Colors similar to #031B33 evoke feelings of calmness, depth, and sophistication, making it a popular choice for designs that aim to convey a sense of stability and trustworthiness.

The hex color #031B33, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. When used as a background color, it necessitates very light foreground text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between foreground and background colors should be at least 4.5:1 for normal text and 3:1 for large text to meet AA compliance. Given its darkness, #031B33 will likely require white or very light shades of yellow or green to achieve adequate contrast. It's crucial to test color combinations using accessibility tools to verify compliance and ensure usability for individuals with visual impairments. Using this color sparingly and pairing it carefully with accessible foreground elements is essential for inclusive design. Consider users with low vision or color blindness when implementing this color.

Shades

Digital Color Formats

RGB
3 27 51
RGB3 27 51
Red
Green
Blue
HSL
210deg 88.89% 10.59%
21088.8910.59HSL
Hue
Saturation
Lightness
HWB
210deg 1.18% 80%
2101.1880HWB
Hue
Whiteness
Blackness
hex#031B33
rgb3 27 51
hsl210deg 88.89% 10.59%
cmyk94.12% 47.06% 0% 80%
hwb210deg 1.18% 80%
xyz-d650.01 0.01 0.03
oklch0.2185 0.0562 250.67
oklab0.2185 -0.02 -0.05
CMYK
94.12% 47.06% 0% 80%
94.1247.06080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2185 0.0562 250.67
0.21850.0562250.67LCH
Lightness
Chroma
Hue
OKLAB
0.2185 -0.02 -0.05
0.2185-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons