Midnight

#08172C

General Information about #08172C

The hex color code #08172C, often referred to as 'Midnight', represents a very dark shade of blue in the RGB color model. It is composed of 3.14% red, 9.02% green, and 17.25% blue. In the CMYK color model, it consists of 81.82% cyan, 47.37% magenta, 0% yellow, and 82.75% black. This color falls within the cool color spectrum and is typically associated with calmness, mystery, and sophistication. Due to its low saturation and high darkness, it is often used as a background color or accent color in designs where a subtle and understated aesthetic is desired. The color has a low perceived lightness which makes it harder to perceive details on the background. In branding, 'Midnight' can convey a sense of luxury, elegance, or technological advancement.

The hex color #08172C, also known as Midnight, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance value necessitates careful consideration of contrast ratios to ensure readability for users with visual impairments. According to WCAG guidelines, text and interactive elements should maintain a contrast ratio of at least 4.5:1 against the background. Given Midnight's darkness, only very light or white text will meet this requirement. Furthermore, the color's subtlety might make it difficult for users with color blindness to distinguish it from similar dark shades. Web developers employing #08172C must rigorously test their designs with accessibility evaluation tools and consider providing alternative high-contrast themes or customizable color options to cater to a broader audience and ensure an inclusive user experience. Meaningful non-color design aspects should also be used to convey information to all users.

Shades

Digital Color Formats

RGB
8 23 44
RGB8 23 44
Red
Green
Blue
HSL
215deg 69.23% 10.2%
21569.2310.2HSL
Hue
Saturation
Lightness
HWB
215deg 3.14% 82.75%
2153.1482.75HWB
Hue
Whiteness
Blackness
hex#08172C
rgb8 23 44
hsl215deg 69.23% 10.2%
cmyk81.82% 47.73% 0% 82.75%
hwb215deg 3.14% 82.75%
xyz-d650.01 0.01 0.03
oklch0.2044 0.047 257.04
oklab0.2044 -0.01 -0.05
CMYK
81.82% 47.73% 0% 82.75%
81.8247.73082.75CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2044 0.047 257.04
0.20440.047257.04LCH
Lightness
Chroma
Hue
OKLAB
0.2044 -0.01 -0.05
0.2044-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons