Midnight

#020D32

General Information about #020D32

The hexadecimal color code #020D32 represents a very dark shade of blue, often referred to as 'Midnight'. It is composed of 0.78% red, 5.1% green, and 20% blue. In the RGB color model, this translates to R:2, G:13, B:50. The corresponding CMYK color code is C:96, M:74, Y:0, K:80, indicating a high concentration of cyan and magenta, with a significant black component. In the HSL (hue, saturation, lightness) model, its values are H:224.3 degrees, S:96.2%, and L:10%. This color is more inclined towards the cooler end of the spectrum and evokes feelings of calmness, depth, and mystery. It is often associated with nighttime and can convey a sense of sophistication and elegance.

The hex color #020D32, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. Its very dark shade means that text rendered in this color on a white background, or vice versa, would fail WCAG (Web Content Accessibility Guidelines) contrast ratio requirements. This can cause readability issues for users with visual impairments, including those with low vision or color blindness. To improve accessibility, it's crucial to pair #020D32 with much lighter colors to ensure sufficient contrast. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. Utilizing tools that assess color contrast can help designers make informed decisions. Furthermore, consider providing alternative color schemes to cater to users with specific visual needs. Avoid using this color for essential information or interactive elements without careful consideration of contrast.

Shades

Digital Color Formats

RGB
2 13 50
RGB2 13 50
Red
Green
Blue
HSL
226.25deg 92.31% 10.2%
226.2592.3110.2HSL
Hue
Saturation
Lightness
HWB
226.25deg 0.78% 80.39%
226.250.7880.39HWB
Hue
Whiteness
Blackness
hex#020D32
rgb2 13 50
hsl226.25deg 92.31% 10.2%
cmyk96% 74% 0% 80.39%
hwb226.25deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1789 0.0759 263.78
oklab0.1789 -0.01 -0.08
CMYK
96% 74% 0% 80.39%
9674080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1789 0.0759 263.78
0.17890.0759263.78LCH
Lightness
Chroma
Hue
OKLAB
0.1789 -0.01 -0.08
0.1789-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons