Midnight

#08142D

General Information about Midnight (#08142D)

The hex color #08142D, commonly referred to as 'Midnight,' is a very dark shade of blue, almost appearing black. It belongs to the family of cool colors and evokes feelings of calmness, mystery, and sophistication. In the RGB color model, it is composed of 3.14% red, 7.84% green, and 17.65% blue. This composition results in a very low luminance value, making it a challenging color to use for text or important UI elements due to accessibility concerns. Midnight is often associated with night, darkness, and the depths of the ocean or space. Its understated nature makes it a popular choice for backgrounds, accents, and branding materials where a subtle and refined aesthetic is desired. However, care must be taken to ensure sufficient contrast with other elements to maintain readability and visual clarity.

The hex color #08142D, often referred to as 'Midnight,' presents significant accessibility challenges, particularly in text-based contexts. Due to its very low luminance, it provides insufficient contrast when paired with standard light-colored text, like white or yellow. According to WCAG guidelines, text and interactive elements should have a contrast ratio of at least 4.5:1 against their background to ensure readability for users with visual impairments. Using #08142D for text or important UI elements would likely fail this test. It's crucial to increase contrast by pairing it with a much lighter color or using it sparingly for decorative purposes where readability is not a primary concern. Consider using tools like contrast checkers to assess combinations and ensure compliance with accessibility standards. Also avoid using it in combination with dark fonts. If used as a background, ensure fonts are bright enough.

Shades

Digital Color Formats

RGB
8 20 45
RGB8 20 45
Red
Green
Blue
HSL
220.54deg 69.81% 10.39%
220.5469.8110.39HSL
Hue
Saturation
Lightness
HWB
220.54deg 3.14% 82.35%
220.543.1482.35HWB
Hue
Whiteness
Blackness
hex#08142D
rgb8 20 45
hsl220.54deg 69.81% 10.39%
cmyk82.22% 55.56% 0% 82.35%
hwb220.54deg 3.14% 82.35%
xyz-d650.01 0.01 0.03
oklch0.1967 0.0532 262.97
oklab0.1967 -0.01 -0.05
CMYK
82.22% 55.56% 0% 82.35%
82.2255.56082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1967 0.0532 262.97
0.19670.0532262.97LCH
Lightness
Chroma
Hue
OKLAB
0.1967 -0.01 -0.05
0.1967-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons