Midnight

#020C35

General Information about #020C35

The hex color #020C35, also referred to as 'Midnight', is a very dark shade of blue that evokes feelings of sophistication, depth, and mystery. It belongs to the blue color family, characterized by its cool and calming properties. In the RGB color model, it consists of 0.78% red, 4.71% green, and 21.57% blue. Converting it to the CMYK color model yields values of 96% cyan, 44% magenta, 0% yellow, and 78% black. This indicates that #020C35 is primarily composed of cyan and black pigments, contributing to its deep, subdued appearance. This color is often associated with nighttime, elegance, and a sense of calmness. It is used in design to convey sophistication and a modern look. It is not a very bright color.

The color #020C35, also known as Midnight, presents accessibility challenges due to its very dark hue. When used as a background, it necessitates extremely light text (ideally white or near-white) to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text (14pt bold or 18pt regular). Midnight likely requires careful adjustment of text color to meet these standards. It's crucial to test the color combination with accessibility tools to confirm compliance and ensure that users with visual impairments can comfortably access the content. Consider alternatives if sufficient contrast cannot be achieved, or reserve this color for purely decorative elements where text legibility is not paramount. Thoughtful application is essential to avoid creating barriers for users.

Shades

Digital Color Formats

RGB
2 12 53
RGB2 12 53
Red
Green
Blue
HSL
228.24deg 92.73% 10.78%
228.2492.7310.78HSL
Hue
Saturation
Lightness
HWB
228.24deg 0.78% 79.22%
228.240.7879.22HWB
Hue
Whiteness
Blackness
hex#020C35
rgb2 12 53
hsl228.24deg 92.73% 10.78%
cmyk96.23% 77.36% 0% 79.22%
hwb228.24deg 0.78% 79.22%
xyz-d650.01 0.01 0.03
oklch0.1802 0.0822 264.64
oklab0.1802 -0.01 -0.08
CMYK
96.23% 77.36% 0% 79.22%
96.2377.36079.22CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1802 0.0822 264.64
0.18020.0822264.64LCH
Lightness
Chroma
Hue
OKLAB
0.1802 -0.01 -0.08
0.1802-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons