Midnight

#05182F

General Information about #05182F

The hexadecimal color #05182F, commonly referred to as Midnight, is a deep shade of blue that leans towards the darker end of the spectrum. It is composed of 2% red, 9.4% green, and 18.4% blue. In the RGB color space, it signifies a low intensity of all three primary colors, resulting in its dark appearance. This color is often associated with feelings of calmness, depth, and sophistication. Its hexadecimal representation allows for precise color specification in digital design and web development. The color's darkness makes it suitable for backgrounds or areas where a subtle, understated aesthetic is desired, but careful consideration is needed to ensure sufficient contrast with foreground elements, especially text.

The hex color #05182F, also known as Midnight, presents significant accessibility challenges, particularly in text-based contexts. Its extremely low luminance value results in very poor contrast against typical light-colored backgrounds, such as white or light gray. This can make text rendered in this color nearly illegible for individuals with low vision or color blindness. Web developers should avoid using #05182F for text or interactive elements unless paired with a very light or bright contrasting color that meets WCAG (Web Content Accessibility Guidelines) AA or AAA contrast ratio standards. Using contrast checking tools is crucial to ensure sufficient readability. For decorative purposes, it is permissible, but consider its impact on users with visual impairments. Alternatives, such as slightly lighter shades of blue or incorporating a high-contrast border, can improve accessibility while maintaining the desired aesthetic.

Shades

Digital Color Formats

RGB
5 24 47
RGB5 24 47
Red
Green
Blue
HSL
212.86deg 80.77% 10.2%
212.8680.7710.2HSL
Hue
Saturation
Lightness
HWB
212.86deg 1.96% 81.57%
212.861.9681.57HWB
Hue
Whiteness
Blackness
hex#05182F
rgb5 24 47
hsl212.86deg 80.77% 10.2%
cmyk89.36% 48.94% 0% 81.57%
hwb212.86deg 1.96% 81.57%
xyz-d650.01 0.01 0.03
oklch0.2077 0.0525 254.18
oklab0.2077 -0.01 -0.05
CMYK
89.36% 48.94% 0% 81.57%
89.3648.94081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2077 0.0525 254.18
0.20770.0525254.18LCH
Lightness
Chroma
Hue
OKLAB
0.2077 -0.01 -0.05
0.2077-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons