Midnight

#08182E

General Information about #08182E

The hexadecimal color code #08182E, commonly referred to as Midnight, represents a very dark shade of blue. It is composed of 3.14% red, 9.41% green, and 18.04% blue. In the RGB color model, this translates to 8 red, 24 green, and 46 blue. With a hue of 213 degrees, a saturation of 70.8% and a lightness of 10.2%, Midnight falls within the cool color spectrum. Its primary associations include depth, sophistication, and mystery. Due to its low luminance, this color appears almost black, making it suitable for backgrounds or accents when paired with lighter, contrasting colors. This hexadecimal code is frequently used in graphic design, web development, and other creative fields to achieve a sense of elegance and refinement.

The color #08182E, also known as Midnight, presents significant accessibility challenges due to its very dark nature. Its low luminance results in poor contrast against lighter backgrounds, making it difficult for individuals with visual impairments to discern text or graphical elements. To ensure accessibility, it is crucial to pair this color with significantly lighter hues. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as per WCAG guidelines. Using tools to check contrast ratios is highly advised when incorporating #08182E into designs. Furthermore, avoid using this color for essential interactive elements or information without sufficient contrast, as it can severely hinder usability for a wide range of users, including those with low vision or color blindness. Thoughtful consideration of color pairings and adherence to accessibility standards are essential when utilizing #08182E in any design context.

Shades

Digital Color Formats

RGB
8 24 46
RGB8 24 46
Red
Green
Blue
HSL
214.74deg 70.37% 10.59%
214.7470.3710.59HSL
Hue
Saturation
Lightness
HWB
214.74deg 3.14% 81.96%
214.743.1481.96HWB
Hue
Whiteness
Blackness
hex#08182E
rgb8 24 46
hsl214.74deg 70.37% 10.59%
cmyk82.61% 47.83% 0% 81.96%
hwb214.74deg 3.14% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2088 0.0491 256.78
oklab0.2088 -0.01 -0.05
CMYK
82.61% 47.83% 0% 81.96%
82.6147.83081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2088 0.0491 256.78
0.20880.0491256.78LCH
Lightness
Chroma
Hue
OKLAB
0.2088 -0.01 -0.05
0.2088-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons