Midnight

#06152E

General Information

#06152E, commonly referred to as Midnight, is a very dark shade of blue, almost appearing black to the untrained eye. It has a subtle, mysterious character which is why it is often used in designs requiring depth and sophistication. Midnight blue is frequently associated with calmness, trustworthiness, and stability, making it a popular choice for corporate branding and professional settings. The color is formed by a minimal amount of red (6), a low amount of green (21) and a medium amount of blue (46). The relative amounts of blue compared to red and green cause the blue appearance. The color is perceived as a dark color because the color components do not represent high values. It belongs to the family of dark colors.

The hex color #06152E, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. Its dark nature results in very low contrast against lighter backgrounds, making it difficult for users with visual impairments to discern text or other elements rendered in this color. Web developers must carefully consider the contrast ratio when using #06152E. According to WCAG guidelines, sufficient contrast is crucial for readability. For normal text (14pt/18px and larger), a contrast ratio of at least 4.5:1 is recommended, while for large text (18pt/24px and larger) and graphical elements, a ratio of 3:1 is necessary. Using #06152E as a primary text color is strongly discouraged unless paired with a very light background color such as white or a very pale yellow. Even then, testing with users who have visual impairments is essential to ensure usability. Providing alternative high-contrast themes is another way to enhance accessibility for all users.

Shades

Digital Color Formats

RGB
6 21 46
RGB6 21 46
Red
Green
Blue
HSL
217.5deg 76.92% 10.2%
217.576.9210.2HSL
Hue
Saturation
Lightness
HWB
217.5deg 2.35% 81.96%
217.52.3581.96HWB
Hue
Whiteness
Blackness
hex#06152E
rgb6 21 46
hsl217.5deg 76.92% 10.2%
cmyk86.96% 54.35% 0% 81.96%
hwb217.5deg 2.35% 81.96%
xyz-d650.01 0.01 0.03
oklch0.199 0.0545 259.48
oklab0.199 -0.01 -0.05
CMYK
86.96% 54.35% 0% 81.96%
86.9654.35081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.199 0.0545 259.48
0.1990.0545259.48LCH
Lightness
Chroma
Hue
OKLAB
0.199 -0.01 -0.05
0.199-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons