Midnight

#031532

General Information about Midnight (#031532)

The hex color code #031532, also known as Midnight, is a very dark shade of blue. It is composed of 1.18% red, 8.24% green, and 20% blue. In the RGB color model, it has values of 3 red, 21 green, and 50 blue. The corresponding CMYK color code is C:0.94, M:0.58, Y:0.00, K:0.80. In the HSL color space, its hue is 217 degrees, saturation is 94.34%, and lightness is 10.59%. Midnight is often associated with sophistication, calm, and elegance. Its low luminance makes it suitable for backgrounds or accents when paired with lighter colors to ensure readability and visual appeal. The color is often found in modern designs seeking a subtle yet powerful visual impact. Its hexadecimal nature defines it as a web-safe color.

The color #031532, also known as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a foreground color, it requires extremely light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between the text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet AA compliance. Given its low luminance, #031532 will likely fail these requirements unless paired with a color close to white. It's crucial to perform thorough contrast checks using online tools or accessibility software. This ensures that users with visual impairments, such as those with low vision or color blindness, can perceive the content effectively. Moreover, consider providing alternative color schemes to accommodate diverse user needs and preferences, enhancing overall usability and inclusivity.

Shades

Digital Color Formats

RGB
3 21 50
RGB3 21 50
Red
Green
Blue
HSL
217.02deg 88.68% 10.39%
217.0288.6810.39HSL
Hue
Saturation
Lightness
HWB
217.02deg 1.18% 80.39%
217.021.1880.39HWB
Hue
Whiteness
Blackness
hex#031532
rgb3 21 50
hsl217.02deg 88.68% 10.39%
cmyk94% 58% 0% 80.39%
hwb217.02deg 1.18% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2005 0.0631 258.18
oklab0.2005 -0.01 -0.06
CMYK
94% 58% 0% 80.39%
9458080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2005 0.0631 258.18
0.20050.0631258.18LCH
Lightness
Chroma
Hue
OKLAB
0.2005 -0.01 -0.06
0.2005-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons