Midnight

#021438

General Information about #021438

The hexadecimal color #021438, also known as Midnight, is a very dark shade of blue. It's composed of 0.78% red, 7.84% green, and 21.96% blue. In the RGB color model, it has the values R:2, G:20, B:56. This color is often associated with sophistication, depth, and a sense of calm. Its darkness makes it suitable for backgrounds, accents, or situations where a subtle, understated color is desired. In terms of its use, because it is a dark color, web applications may need to increase the contrast to improve the visibility for the visually impaired. Different tools exist to create a suitable palette. The color can be used for different application areas, such as the branding of a company.

The color #021438, a very dark shade of blue, presents significant accessibility challenges, especially in web design. Its extremely low luminance results in poor contrast against lighter backgrounds, making text or interface elements difficult to read for users with visual impairments. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #021438 for text on a white background will fall far short of these standards, affecting readability for a substantial portion of users, including those with low vision, color blindness, or simply viewing the content in bright sunlight. To improve accessibility, consider pairing #021438 with much lighter colors like white (#FFFFFF) or very light shades of yellow or orange. Alternatively, using it sparingly for purely decorative elements that don't convey crucial information is acceptable. Careful consideration and testing with accessibility tools are vital when using such a dark color in any design to ensure inclusivity.

Shades

Digital Color Formats

RGB
2 20 56
RGB2 20 56
Red
Green
Blue
HSL
220deg 93.1% 11.37%
22093.111.37HSL
Hue
Saturation
Lightness
HWB
220deg 0.78% 78.04%
2200.7878.04HWB
Hue
Whiteness
Blackness
hex#021438
rgb2 20 56
hsl220deg 93.1% 11.37%
cmyk96.43% 64.29% 0% 78.04%
hwb220deg 0.78% 78.04%
xyz-d650.01 0.01 0.04
oklch0.203 0.0751 260.44
oklab0.203 -0.01 -0.07
CMYK
96.43% 64.29% 0% 78.04%
96.4364.29078.04CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.04
0.010.010.04XYZ
X
Y
Z
OKLCH
0.203 0.0751 260.44
0.2030.0751260.44LCH
Lightness
Chroma
Hue
OKLAB
0.203 -0.01 -0.07
0.203-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons