Midnight

#021C2B

General Information about #021C2B

The hex color #021C2B, also known as Midnight, is a very dark shade of cyan-blue. It is composed of 0.78% red, 10.98% green, and 16.86% blue. In the RGB color model, this translates to R:2, G:28, B:43. This color has a hue of 198 degrees, a saturation of 91.3%, and a lightness of 8.8%. Midnight is often associated with qualities like depth, stability, and sophistication. Due to its low lightness value, it appears almost black, making it suitable for use as a background color where a subtle hint of blue is desired. Its high saturation, despite its darkness, adds a touch of richness and complexity, distinguishing it from a plain black. In design, this color can evoke a sense of calm and professionalism, making it a popular choice for creating a serious and trustworthy atmosphere. Because the red value is very low, it is not possible to create warmness with this color.

The hex color #021C2B, known as Midnight, presents significant accessibility challenges, particularly for text and user interface elements. Its extremely low lightness value results in very poor contrast against white or light backgrounds, potentially causing readability issues for users with visual impairments. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. This color falls far short of these recommendations when paired with light colors, making it difficult for individuals with low vision to discern content. To improve accessibility, it is crucial to use lighter text colors such as white or very light grays, and to ensure that the contrast ratio meets or exceeds WCAG standards. Avoid using this color for important interactive elements without sufficient contrast, as it can hinder usability for many users. Also keep in mind that people with cognitive disabilities may also experience issues when the contrast is too low.

Shades

Digital Color Formats

RGB
2 28 43
RGB2 28 43
Red
Green
Blue
HSL
201.95deg 91.11% 8.82%
201.9591.118.82HSL
Hue
Saturation
Lightness
HWB
201.95deg 0.78% 83.14%
201.950.7883.14HWB
Hue
Whiteness
Blackness
hex#021C2B
rgb2 28 43
hsl201.95deg 91.11% 8.82%
cmyk95.35% 34.88% 0% 83.14%
hwb201.95deg 0.78% 83.14%
xyz-d650.01 0.01 0.02
oklch0.215 0.0438 237.23
oklab0.215 -0.02 -0.04
CMYK
95.35% 34.88% 0% 83.14%
95.3534.88083.14CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.02
0.010.010.02XYZ
X
Y
Z
OKLCH
0.215 0.0438 237.23
0.2150.0438237.23LCH
Lightness
Chroma
Hue
OKLAB
0.215 -0.02 -0.04
0.215-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons