Midnight

#08182C

General Information about Midnight (#08182C)

The hexadecimal color #08182C, also known as Midnight, is a dark shade of blue-gray. It belongs to the family of cool colors and evokes feelings of tranquility, mystery, and sophistication. In the RGB color model, #08182C is composed of 3.14% red, 9.41% green, and 17.25% blue. The CMYK color model representation is 54.65% cyan, 0% magenta, 0% yellow, and 82.75% black. This color is often used in design to create a sense of depth, elegance, or formality. Its low saturation gives it a muted, understated appearance, making it suitable for backgrounds, text, and other design elements where a subtle touch is desired. Midnight is similar to other dark blue and gray shades, offering a versatile option for various applications.

The hex color #08182C, often referred to as Midnight, presents specific accessibility challenges, particularly when used as a background or text color. Due to its low luminance, the contrast ratio against standard white text (e.g., #FFFFFF) is poor. This can make it difficult for users with visual impairments, such as low vision or color blindness, to read the content. Web Content Accessibility Guidelines (WCAG) recommend a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text to ensure readability. When using #08182C, it's crucial to select a text color that provides sufficient contrast to meet these guidelines. Lighter shades of gray, or even light pastel colors, might offer better contrast. Tools are available online to calculate contrast ratios between color combinations, assisting designers in making informed decisions. Also consider that users can have different screen settings, so testing on different devices is always a good idea.

Shades

Digital Color Formats

RGB
8 24 44
RGB8 24 44
Red
Green
Blue
HSL
213.33deg 69.23% 10.2%
213.3369.2310.2HSL
Hue
Saturation
Lightness
HWB
213.33deg 3.14% 82.75%
213.333.1482.75HWB
Hue
Whiteness
Blackness
hex#08182C
rgb8 24 44
hsl213.33deg 69.23% 10.2%
cmyk81.82% 45.45% 0% 82.75%
hwb213.33deg 3.14% 82.75%
xyz-d650.01 0.01 0.03
oklch0.2073 0.0456 254.97
oklab0.2073 -0.01 -0.04
CMYK
81.82% 45.45% 0% 82.75%
81.8245.45082.75CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2073 0.0456 254.97
0.20730.0456254.97LCH
Lightness
Chroma
Hue
OKLAB
0.2073 -0.01 -0.04
0.2073-0.01-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons