Midnight

#021133

General Information about Midnight (#021133)

The hexadecimal color #021133, commonly known as Midnight, is a very dark shade of blue. It is composed of 0.78% red, 6.67% green, and 20% blue. In the RGB color model, it is represented as (2, 17, 51). This color falls within the cool spectrum and evokes feelings of calmness, depth, and mystery. Midnight is often associated with the night sky, deep ocean waters, and a sense of tranquility. Its darkness makes it suitable for creating backgrounds or accents that require a subtle yet sophisticated touch. Due to its low luminance, it is essential to pair it with high-contrast colors for readability in design applications. Midnight is also a popular choice in branding for companies looking to convey trustworthiness and reliability.

The hex color #021133, often referred to as Midnight, presents significant accessibility challenges primarily due to its very low luminance. With such a dark shade, it's crucial to use contrasting text colors, ideally white or a very light hue, to ensure readability for all users, including those with visual impairments. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text according to WCAG (Web Content Accessibility Guidelines) standards. Without adequate contrast, content can become illegible, causing frustration and exclusion. When using #021133 as a background, be particularly mindful of link colors and interactive elements, ensuring they are clearly distinguishable. Additionally, avoid using this color for critical information or actions that require immediate user attention, as its darkness can make it less noticeable.

Shades

Digital Color Formats

RGB
2 17 51
RGB2 17 51
Red
Green
Blue
HSL
221.63deg 92.45% 10.39%
221.6392.4510.39HSL
Hue
Saturation
Lightness
HWB
221.63deg 0.78% 80%
221.630.7880HWB
Hue
Whiteness
Blackness
hex#021133
rgb2 17 51
hsl221.63deg 92.45% 10.39%
cmyk96.08% 66.67% 0% 80%
hwb221.63deg 0.78% 80%
xyz-d650.01 0.01 0.03
oklch0.1901 0.0715 261.27
oklab0.1901 -0.01 -0.07
CMYK
96.08% 66.67% 0% 80%
96.0866.67080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1901 0.0715 261.27
0.19010.0715261.27LCH
Lightness
Chroma
Hue
OKLAB
0.1901 -0.01 -0.07
0.1901-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons