Midnight

#00172E

General Information about Midnight (#00172E)

The hexadecimal color code #00172E, also known as Midnight, represents a very dark shade of blue. It is composed of 0% red, 9% green, and 18.4% blue. In the RGB (Red, Green, Blue) color model, it's defined as 0, 23, 46. In the CMYK (Cyan, Magenta, Yellow, Key/Black) color model, it's composed of 100% cyan, 50% magenta, 0% yellow, and 82% black. This color is often associated with sophistication, mystery, and depth. It is frequently used in contexts where a sense of elegance and formality is desired. It is part of the bigger family of dark colors. Dark colors in general offer a sense of peace and calm. It is often selected as background color, or as a color for text in combination with a bright background color.

The hex color #00172E, also known as Midnight, presents unique accessibility considerations, particularly for web design. Its very dark hue creates a significant contrast challenge when used as a background color. Text or interactive elements placed on this background must be carefully evaluated to ensure sufficient contrast for readability and usability, in compliance with WCAG (Web Content Accessibility Guidelines). A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Lighter shades of text colors like white (#FFFFFF) or very light grays may work. Using a color contrast checker is crucial to verify compliance. Due to its darkness, it's generally not advisable to use #00172E for large areas of text or as the primary background for entire web pages as it can strain the eyes of users. Employing this color strategically for smaller design elements or accents is a more accessible approach. Also, when using this color, consider users with visual impairments and test the design with assistive technologies to ensure proper rendering and usability. It is very important to think about providing alternative themes.

Shades

Digital Color Formats

RGB
0 23 46
RGB0 23 46
Red
Green
Blue
HSL
210deg 100% 9.02%
2101009.02HSL
Hue
Saturation
Lightness
HWB
210deg 0% 81.96%
210081.96HWB
Hue
Whiteness
Blackness
hex#00172E
rgb0 23 46
hsl210deg 100% 9.02%
cmyk100% 50% 0% 81.96%
hwb210deg 0% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2008 0.0557 249.21
oklab0.2008 -0.02 -0.05
CMYK
100% 50% 0% 81.96%
10050081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2008 0.0557 249.21
0.20080.0557249.21LCH
Lightness
Chroma
Hue
OKLAB
0.2008 -0.02 -0.05
0.2008-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons