Midnight

#021332

General Information about #021332

The hex color #021332 is a very dark shade of blue, often categorized as 'Midnight'. It's composed of 0.78% red, 7.45% green, and 20% blue. In the RGB color model, it's represented as RGB(2, 19, 50). This color is frequently used in designs aiming to convey depth, sophistication, or a sense of calm. Its darkness implies a serious tone, making it appropriate for professional settings or designs that require a more subdued aesthetic. It's crucial to be mindful of its low luminance value when applying this color, as it demands careful consideration of contrast with other design elements to ensure readability and accessibility. In web design, this means using light-colored text or other bright accents to create visual balance.

The hex color #021332, a very dark shade of blue often referred to as Midnight, presents significant accessibility challenges, particularly regarding color contrast. When used as a background color, it necessitates very light text to ensure readability. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Given the darkness of #021332, designers must carefully select foreground colors, such as white or very light shades of yellow or green, to meet these standards. Insufficient contrast can lead to eye strain and make content illegible for many users. It's also important to consider users with color vision deficiencies, who may struggle to distinguish between colors with low contrast, even if the contrast appears adequate to individuals with normal color vision. Testing the color combination with accessibility tools is highly recommended.

Shades

Digital Color Formats

RGB
2 19 50
RGB2 19 50
Red
Green
Blue
HSL
218.75deg 92.31% 10.2%
218.7592.3110.2HSL
Hue
Saturation
Lightness
HWB
218.75deg 0.78% 80.39%
218.750.7880.39HWB
Hue
Whiteness
Blackness
hex#021332
rgb2 19 50
hsl218.75deg 92.31% 10.2%
cmyk96% 62% 0% 80.39%
hwb218.75deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1944 0.0667 259.17
oklab0.1944 -0.01 -0.07
CMYK
96% 62% 0% 80.39%
9662080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1944 0.0667 259.17
0.19440.0667259.17LCH
Lightness
Chroma
Hue
OKLAB
0.1944 -0.01 -0.07
0.1944-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons