Midnight

#08122D

General Information about #08122D (Midnight)

The hex color code #08122D is a dark shade of blue, often referred to as Midnight. In the RGB color model, it is composed of 3.14% red, 7.06% green, and 17.65% blue. This color resides in the darker end of the color spectrum, providing a sense of depth and sophistication. Colors similar to #08122D evoke feelings of tranquility, mystery, and elegance. It's a popular choice in design fields that require a subtle yet strong visual impact. Due to its low luminance, proper contrast considerations are essential when using this color, especially in user interfaces or text-based designs. The color is best suited for creating a very dark, elegant and clean theme.

The hex color #08122D, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. Its very dark nature results in poor contrast against most foreground elements, especially white text or light backgrounds. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments. To ensure accessibility, it's imperative to pair this color with very light hues or consider using it sparingly for purely decorative purposes. When used for interactive elements or text, a thorough contrast check using online tools is essential to meet WCAG AA or AAA standards. Designers should carefully evaluate the context of use and consider alternatives if contrast cannot be adequately improved. Remember that perceived contrast is subjective, and user testing is always advisable to validate accessibility.

Shades

Digital Color Formats

RGB
8 18 45
RGB8 18 45
Red
Green
Blue
HSL
223.78deg 69.81% 10.39%
223.7869.8110.39HSL
Hue
Saturation
Lightness
HWB
223.78deg 3.14% 82.35%
223.783.1482.35HWB
Hue
Whiteness
Blackness
hex#08122D
rgb8 18 45
hsl223.78deg 69.81% 10.39%
cmyk82.22% 60% 0% 82.35%
hwb223.78deg 3.14% 82.35%
xyz-d650.01 0.01 0.03
oklch0.1913 0.0564 265.83
oklab0.1913 0 -0.06
CMYK
82.22% 60% 0% 82.35%
82.2260082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1913 0.0564 265.83
0.19130.0564265.83LCH
Lightness
Chroma
Hue
OKLAB
0.1913 0 -0.06
0.19130-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons