Midnight

#0A182E

General Information

The hexadecimal color code #0a182e, also known as Midnight, is a dark shade of blue. It is composed of 3.92% red, 9.41% green, and 18.04% blue. In the RGB color model, this translates to R:10, G:24, B:46. The CMYK values are C:78, M:48, Y:0, K:82. This color is commonly associated with sophistication, depth, and tranquility. Due to its dark nature, it is often used as a background color or as an accent to provide contrast to lighter elements in design. Its relative darkness suggests calm and evokes a sense of formality. In different cultures, dark blue shades like Midnight may represent trust, authority, or stability. This hue is effective for creating an atmosphere of elegance, either on digital platforms or in physical spaces.

The hex color #0a182e, also known as Midnight, presents specific accessibility challenges due to its dark nature. When used as a background color, it requires very light text (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. Tools are available to check the contrast ratio. Failure to meet these ratios can make content inaccessible to users with low vision or color blindness. It's crucial to test the color combination with accessibility checkers and consider user feedback to guarantee an inclusive design. Using a lighter shade of the same hue or adding a subtle overlay can improve contrast without drastically changing the aesthetic. Also avoid using it for important information when color is the only indicator, due to color blindness.

Shades

Digital Color Formats

RGB
10 24 46
RGB10 24 46
Red
Green
Blue
HSL
216.67deg 64.29% 10.98%
216.6764.2910.98HSL
Hue
Saturation
Lightness
HWB
216.67deg 3.92% 81.96%
216.673.9281.96HWB
Hue
Whiteness
Blackness
hex#0A182E
rgb10 24 46
hsl216.67deg 64.29% 10.98%
cmyk78.26% 47.83% 0% 81.96%
hwb216.67deg 3.92% 81.96%
xyz-d650.01 0.01 0.03
oklch0.21 0.048 259.12
oklab0.21 -0.01 -0.05
CMYK
78.26% 47.83% 0% 81.96%
78.2647.83081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.21 0.048 259.12
0.210.048259.12LCH
Lightness
Chroma
Hue
OKLAB
0.21 -0.01 -0.05
0.21-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons