Midnight

#011A2E

General Information about #011A2E

The hex color #011A2E, also known as Midnight, is a dark shade of blue-black. It is composed of 0.4% red, 10.2% green, and 18% blue. In the RGB color model, this translates to 1 red, 26 green, and 46 blue. The corresponding CMYK color code is 98% cyan, 43% magenta, 0% yellow, and 82% black. In the HSL color space, #011A2E has a hue of 205 degrees, a saturation of 98%, and a lightness of 9%. This color is often associated with sophistication, depth, and tranquility. Due to its dark nature, it's frequently used as a background color to allow lighter elements to stand out. It is important to consider accessibility guidelines when using this color, ensuring sufficient contrast with foreground elements.

The hex color #011A2E, a deep, muted blue-black, presents several accessibility considerations for web developers. Its low luminance necessitates careful attention to contrast ratios, particularly with text. According to WCAG guidelines, a minimum contrast ratio of 4.5:1 is required for normal text and 3:1 for large text against its background. Therefore, when using #011A2E as a background color, ensure that foreground text colors, such as white or light shades of gray, provide sufficient contrast to meet these standards. Failure to meet these contrast requirements can render content difficult or impossible to read for users with visual impairments. Additionally, avoid using #011A2E for interactive elements or controls without clear visual cues, as the lack of distinctness may confuse users. Providing alternative styling options, such as high-contrast themes, can significantly improve the accessibility of websites utilizing this color.

Shades

Digital Color Formats

RGB
1 26 46
RGB1 26 46
Red
Green
Blue
HSL
206.67deg 95.74% 9.22%
206.6795.749.22HSL
Hue
Saturation
Lightness
HWB
206.67deg 0.39% 81.96%
206.670.3981.96HWB
Hue
Whiteness
Blackness
hex#011A2E
rgb1 26 46
hsl206.67deg 95.74% 9.22%
cmyk97.83% 43.48% 0% 81.96%
hwb206.67deg 0.39% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2104 0.051 245.11
oklab0.2104 -0.02 -0.05
CMYK
97.83% 43.48% 0% 81.96%
97.8343.48081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2104 0.051 245.11
0.21040.051245.11LCH
Lightness
Chroma
Hue
OKLAB
0.2104 -0.02 -0.05
0.2104-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons