Midnight

#08112D

General Information about #08112D

The hexadecimal color code #08112D, commonly known as Midnight, is a dark shade of blue-black. It is composed of 3.14% red, 6.67% green, and 17.65% blue. In the RGB color space, it has values of R:8, G:17, and B:45. This color is often associated with depth, mystery, and sophistication. In the CMYK color space, its composition is 82.22% cyan, 62.22% magenta, 0% yellow, and 82.35% black. The darkness of #08112D gives it a sense of calm and seriousness, making it suitable for designs that aim to convey these qualities. Due to its low luminance, it is best paired with lighter colors to ensure sufficient contrast and readability.

The hex color #08112D, also known as Midnight, presents significant accessibility challenges, primarily due to its very low luminance. Its dark nature results in poor contrast against most text and background colors, particularly lighter shades. To ensure readability and usability, it is crucial to pair #08112D with very light colors such as whites, creams, or pale yellows. Adhering to WCAG guidelines for contrast ratios is essential; aim for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (14 point bold or 18 point regular). Utilizing tools that evaluate color contrast can help verify compliance. Avoid using #08112D for critical interface elements or informational text without careful consideration of contrast. Consider alternatives if sufficient contrast cannot be achieved.

Shades

Digital Color Formats

RGB
8 17 45
RGB8 17 45
Red
Green
Blue
HSL
225.41deg 69.81% 10.39%
225.4169.8110.39HSL
Hue
Saturation
Lightness
HWB
225.41deg 3.14% 82.35%
225.413.1482.35HWB
Hue
Whiteness
Blackness
hex#08112D
rgb8 17 45
hsl225.41deg 69.81% 10.39%
cmyk82.22% 62.22% 0% 82.35%
hwb225.41deg 3.14% 82.35%
xyz-d650.01 0.01 0.03
oklch0.1886 0.058 267.11
oklab0.1886 0 -0.06
CMYK
82.22% 62.22% 0% 82.35%
82.2262.22082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1886 0.058 267.11
0.18860.058267.11LCH
Lightness
Chroma
Hue
OKLAB
0.1886 0 -0.06
0.18860-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons