Midnight

#031A38

General Information about #031A38

The hexadecimal color #031A38, often referred to as 'Midnight', is a dark, muted shade of blue. It belongs to the family of blue colors, specifically a very dark navy or indigo variant. In the RGB color model, it is composed of 1.18% red, 10.2% green, and 21.96% blue. In the CMYK color model, it consists of 94.61% cyan, 53.53% magenta, 0% yellow, and 78.04% black. This color evokes feelings of calmness, depth, and sophistication. Because of its low brightness, it is often used in designs where a subtle, understated effect is desired. In various cultural contexts, dark blues are often associated with trust, stability, and professionalism. It is worth noting that this color may appear nearly black in some lighting conditions or on certain display types.

The hex color #031A38, a deep midnight hue, presents several accessibility considerations for web developers. Due to its very low luminance, it requires careful attention to contrast ratios, especially when used for text or interactive elements. According to WCAG guidelines, sufficient contrast is essential for users with visual impairments to perceive content effectively. For normal text (size 14 points or 18 pixels and below), a contrast ratio of at least 4.5:1 is recommended against the background. For large text (14 points bold or larger, or 18 points/24 pixels or larger), a contrast ratio of 3:1 is required. Therefore, when using #031A38 as a background or text color, ensure that the foreground or background color provides adequate contrast. Tools like online contrast checkers can help verify compliance with accessibility standards, making web content more inclusive and usable for a wider audience.

Shades

Digital Color Formats

RGB
3 26 56
RGB3 26 56
Red
Green
Blue
HSL
213.96deg 89.83% 11.57%
213.9689.8311.57HSL
Hue
Saturation
Lightness
HWB
213.96deg 1.18% 78.04%
213.961.1878.04HWB
Hue
Whiteness
Blackness
hex#031A38
rgb3 26 56
hsl213.96deg 89.83% 11.57%
cmyk94.64% 53.57% 0% 78.04%
hwb213.96deg 1.18% 78.04%
xyz-d650.01 0.01 0.04
oklch0.2198 0.0657 255.65
oklab0.2198 -0.02 -0.06
CMYK
94.64% 53.57% 0% 78.04%
94.6453.57078.04CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.2198 0.0657 255.65
0.21980.0657255.65LCH
Lightness
Chroma
Hue
OKLAB
0.2198 -0.02 -0.06
0.2198-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons