Midnight

#031531

General Information about #031531

The hex color #031531, commonly referred to as Midnight, is a very dark shade of blue, almost black. It belongs to the family of dark, muted colors and is often associated with sophistication, mystery, and elegance. In color theory, #031531 evokes feelings of calmness, depth, and introspection. It is frequently used in designs aiming to create a sense of professionalism, luxury, or understated power. Due to its low luminance, it's essential to use it carefully in designs, especially in web applications, to ensure readability and accessibility. Pairing it with contrasting colors is key to making text and elements stand out against this dark background.

The hex color #031531, also known as Midnight, presents significant accessibility challenges, particularly for users with visual impairments. Its extremely low luminance value (very dark) means that text or interactive elements using this color as a background require very light foreground colors to meet WCAG (Web Content Accessibility Guidelines) contrast ratios. A contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Failing to meet these ratios can make content unreadable for many users, including those with low vision or color blindness. When using #031531, careful consideration of foreground colors and text sizes is crucial to ensure an accessible and inclusive user experience. Furthermore, avoid using this color alone to convey important information, as users may not be able to distinguish it from other dark elements. Providing alternative cues, such as icons or text labels, can help improve accessibility.

Shades

Digital Color Formats

RGB
3 21 49
RGB3 21 49
Red
Green
Blue
HSL
216.52deg 88.46% 10.2%
216.5288.4610.2HSL
Hue
Saturation
Lightness
HWB
216.52deg 1.18% 80.78%
216.521.1880.78HWB
Hue
Whiteness
Blackness
hex#031531
rgb3 21 49
hsl216.52deg 88.46% 10.2%
cmyk93.88% 57.14% 0% 80.78%
hwb216.52deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.1996 0.0614 257.65
oklab0.1996 -0.01 -0.06
CMYK
93.88% 57.14% 0% 80.78%
93.8857.14080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1996 0.0614 257.65
0.19960.0614257.65LCH
Lightness
Chroma
Hue
OKLAB
0.1996 -0.01 -0.06
0.1996-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons