Midnight

#020C32

General Information about Midnight (#020C32)

The hex color #020C32, also known as Midnight, is a very dark shade of blue, almost appearing black to the naked eye. It belongs to the blue color family, but its low luminance value places it near the bottom of the color spectrum in terms of brightness. In the RGB color model, it consists of 0.8% red, 4.7% green, and 19.6% blue. This composition gives it a subtle blue undertone, distinguishing it from pure black. The color is often associated with sophistication, mystery, and depth. It can evoke feelings of calmness and tranquility, but also a sense of formality and seriousness. Due to its darkness, it is crucial to consider accessibility guidelines when using this color in design, ensuring sufficient contrast with lighter elements.

The hex color #020C32, also known as Midnight, presents significant accessibility challenges due to its extremely dark nature. When used as a background color, it demands very light text colors 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 to meet AA standards. Given the near-black appearance of #020C32, achieving this contrast may require using nearly white text (#FFFFFF or similar). It's crucial to test color combinations with accessibility tools to confirm compliance. When used for decorative elements, consider providing alternative visual cues or using it sparingly to avoid accessibility issues for users with visual impairments. Always prioritize readability and ensure content remains accessible to all users, including those with low vision or color blindness. Consider alternatives if high contrast cannot be achieved.

Shades

Digital Color Formats

RGB
2 12 50
RGB2 12 50
Red
Green
Blue
HSL
227.5deg 92.31% 10.2%
227.592.3110.2HSL
Hue
Saturation
Lightness
HWB
227.5deg 0.78% 80.39%
227.50.7880.39HWB
Hue
Whiteness
Blackness
hex#020C32
rgb2 12 50
hsl227.5deg 92.31% 10.2%
cmyk96% 76% 0% 80.39%
hwb227.5deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.1766 0.0774 264.34
oklab0.1766 -0.01 -0.08
CMYK
96% 76% 0% 80.39%
9676080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1766 0.0774 264.34
0.17660.0774264.34LCH
Lightness
Chroma
Hue
OKLAB
0.1766 -0.01 -0.08
0.1766-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons