Midnight

#031A33

General Information about #031A33

The hexadecimal color code #031A33 represents a very dark shade of blue, often referred to as 'Midnight'. In the RGB color model, it consists of 1.18% red, 10.2% green, and 20% blue. This composition indicates a dominant presence of blue, resulting in the color's deep, almost black appearance. Being a very dark color, #031A33 has a low luminance value, making it challenging to use effectively in design without careful consideration of contrast. Its primary use is in contexts where a subdued, elegant, or mysterious aesthetic is desired. This color is often associated with qualities such as tranquility, depth, and sophistication, reflecting its natural occurrence in the night sky.

The color #031A33, a deep midnight hue, presents significant accessibility challenges, especially in web design. Its extremely low luminance makes it difficult to discern text or elements rendered in this color against most backgrounds, including white. To ensure accessibility, it is crucial to use it with very light colors that provide a high contrast ratio, adhering to WCAG guidelines for contrast ratios of at least 4.5:1 for normal text and 3:1 for large text. Careful consideration is needed when using this color for interactive elements like buttons or links, as users with low vision might struggle to identify them. Providing sufficient visual cues and ensuring proper focus indicators are essential to maintain usability and inclusivity. Colorblind users may also perceive this color differently, so relying solely on color to convey information should be avoided.

Shades

Digital Color Formats

RGB
3 26 51
RGB3 26 51
Red
Green
Blue
HSL
211.25deg 88.89% 10.59%
211.2588.8910.59HSL
Hue
Saturation
Lightness
HWB
211.25deg 1.18% 80%
211.251.1880HWB
Hue
Whiteness
Blackness
hex#031A33
rgb3 26 51
hsl211.25deg 88.89% 10.59%
cmyk94.12% 49.02% 0% 80%
hwb211.25deg 1.18% 80%
xyz-d650.01 0.01 0.03
oklch0.2156 0.0575 252.22
oklab0.2156 -0.02 -0.05
CMYK
94.12% 49.02% 0% 80%
94.1249.02080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2156 0.0575 252.22
0.21560.0575252.22LCH
Lightness
Chroma
Hue
OKLAB
0.2156 -0.02 -0.05
0.2156-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons