Midnight

#050E2E

General Information about #050E2E

The hexadecimal color code #050E2E, often referred to as Midnight, is a very dark shade of blue. It's composed of 2% red, 5.5% green, and 18.4% blue. In the RGB color model, this translates to (5, 14, 46). The perceived darkness of this color stems from its low values across all three color channels. Colors like Midnight are frequently associated with feelings of depth, calmness, and sophistication. It's often used to evoke a sense of mystery or elegance in design. Due to its low lightness, its use needs careful considerations regarding accessibility and contrast.

The hex color #050e2e, also known as Midnight, presents significant accessibility challenges, particularly for users with visual impairments. Its very low lightness value (approximately 2%) results in extremely poor contrast against common background colors like white. This lack of contrast makes text and other visual elements rendered in this color difficult or impossible to read for many users. Web Content Accessibility Guidelines (WCAG) require a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Midnight fails to meet these standards against almost all backgrounds. Designers must use it sparingly and ensure sufficient contrast by pairing it with very light colors or providing alternative high-contrast themes. Thoughtful consideration must be given to usability for all users when employing such a dark shade.

Shades

Digital Color Formats

RGB
5 14 46
RGB5 14 46
Red
Green
Blue
HSL
226.83deg 80.39% 10%
226.8380.3910HSL
Hue
Saturation
Lightness
HWB
226.83deg 1.96% 81.96%
226.831.9681.96HWB
Hue
Whiteness
Blackness
hex#050E2E
rgb5 14 46
hsl226.83deg 80.39% 10%
cmyk89.13% 69.57% 0% 81.96%
hwb226.83deg 1.96% 81.96%
xyz-d650.01 0.01 0.03
oklch0.1795 0.066 266.46
oklab0.1795 0 -0.07
CMYK
89.13% 69.57% 0% 81.96%
89.1369.57081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1795 0.066 266.46
0.17950.066266.46LCH
Lightness
Chroma
Hue
OKLAB
0.1795 0 -0.07
0.17950-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons