Midnight

#0A1A2E

General Information about Midnight (#0A1A2E)

The hex color #0A1A2E, commonly referred to as 'Midnight,' is a dark, muted shade of blue. In the RGB color model, it consists of 3.92% red, 10.2% green, and 18.04% blue. This composition places it within the cool color spectrum, offering a sense of calm and depth. It is frequently used in designs that aim to convey sophistication, mystery, or a sense of formality. The color's darkness makes it suitable for backgrounds where legibility is crucial, often paired with lighter text colors to create contrast. In different cultural contexts, dark blues like Midnight can symbolize trust, stability, or even melancholy, making it a versatile choice for a wide range of applications.

The color #0A1A2E, also known as Midnight, presents several accessibility considerations, especially in web design. Its low lightness value (being a dark color) implies that it requires very light text to achieve sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is needed for normal text and 3:1 for large text. When using Midnight as a background, ensure text color choices provide adequate contrast to meet these standards. Tools such as contrast checkers can help determine if the combination passes accessibility requirements. It's also important to consider users with visual impairments or color blindness. Providing alternative visual cues or text descriptions can further enhance the accessibility of content using this color.

Shades

Digital Color Formats

RGB
10 26 46
RGB10 26 46
Red
Green
Blue
HSL
213.33 64.29% 10.98%
213.3364.2910.98HSL
Hue
Saturation
Lightness
HWB
213.33 3.92% 81.96%
213.333.9281.96HWB
Hue
Whiteness
Blackness
hex#0A1A2E
rgb10 26 46
hsl213.33 64.29% 10.98%
cmyk78.26% 43.48% 0% 81.96%
hwb213.33 3.92% 81.96%
xyz-d650.01 0.01 0.03
oklch0.2157 0.0453 255.01
oklab0.2157 -0.01 -0.04
CMYK
78.26% 43.48% 0% 81.96%
78.2643.48081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2157 0.0453 255.01
0.21570.0453255.01LCH
Lightness
Chroma
Hue
OKLAB
0.2157 -0.01 -0.04
0.2157-0.01-0.04LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons