Midnight

#06132E

General Information about #06132E

The hex color code #06132E, also known as Midnight, represents a very dark shade of blue with minimal saturation and low luminance. It is composed of 2.4% red, 7.5% green, and 18.4% blue. In the RGB color space, it is very close to black and is commonly used to evoke feelings of mystery, sophistication, or depth. Colors close to it have different applications depending on the degree of difference, with slightly lighter shades being used more regularly in websites and fashion design where a dark background is used. A lower luminance like #06132E is typically used for backgrounds of displays, and rarely as the text foreground, because of the accessibility constaints.

The hex color #06132E, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. When used as text against a white background, or vice versa, it fails all levels of WCAG contrast requirements. This means that users with visual impairments, including those with low vision or color blindness, will likely have difficulty reading the text. To improve accessibility, it's crucial to pair this color with much lighter shades. For text, consider using a very light gray or even white (#FFFFFF). If #06132E is used as a background, ensure that the text is a very light color. Avoid using it for essential interface elements, such as buttons or links, unless the contrast is significantly improved. Using CSS techniques like `filter: brightness()` can help lighten the color while maintaining its overall aesthetic. Always test your color combinations with accessibility tools to ensure compliance.

Shades

Digital Color Formats

RGB
6 19 46
RGB6 19 46
Red
Green
Blue
HSL
220.5deg 76.92% 10.2%
220.576.9210.2HSL
Hue
Saturation
Lightness
HWB
220.5deg 2.35% 81.96%
220.52.3581.96HWB
Hue
Whiteness
Blackness
hex#06132E
rgb6 19 46
hsl220.5deg 76.92% 10.2%
cmyk86.96% 58.7% 0% 81.96%
hwb220.5deg 2.35% 81.96%
xyz-d650.01 0.01 0.03
oklch0.1935 0.0576 262.31
oklab0.1935 -0.01 -0.06
CMYK
86.96% 58.7% 0% 81.96%
86.9658.7081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1935 0.0576 262.31
0.19350.0576262.31LCH
Lightness
Chroma
Hue
OKLAB
0.1935 -0.01 -0.06
0.1935-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons