Midnight

#010C34

General Information about Midnight (#010C34)

The hex color #010C34, often referred to as 'Midnight,' is a very dark shade of blue. In the RGB color model, it consists of 0.4% red, 4.7% green, and 20.4% blue. This composition results in a color that is perceived as deep, mysterious, and sophisticated. Colors like Midnight are frequently employed to convey a sense of elegance, stability, and depth. In web design and graphic arts, it requires careful handling due to its low luminance; ensuring sufficient contrast with foreground elements is crucial for readability and accessibility. This color can also evoke a sense of calmness, and it is often associated with night and tranquility.

The hex color #010C34, also known as Midnight, presents significant accessibility challenges. Its extremely low luminance (very dark) means that text or interactive elements using this color as a background will likely fail WCAG (Web Content Accessibility Guidelines) contrast requirements. To ensure accessibility, it's crucial to pair #010C34 with very light text colors (e.g., whites or near-whites) to achieve a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Using tools like contrast checkers is essential to verify compliance. Avoid using #010C34 for critical interface elements or informative text without careful consideration of contrast. If possible, consider lighter alternative colors to provide a more accessible experience for users with visual impairments.

Shades

Digital Color Formats

RGB
1 12 52
RGB1 12 52
Red
Green
Blue
HSL
227.06deg 96.23% 10.39%
227.0696.2310.39HSL
Hue
Saturation
Lightness
HWB
227.06deg 0.39% 79.61%
227.060.3979.61HWB
Hue
Whiteness
Blackness
hex#010C34
rgb1 12 52
hsl227.06deg 96.23% 10.39%
cmyk98.08% 76.92% 0% 79.61%
hwb227.06deg 0.39% 79.61%
xyz-d650.01 0.01 0.03
oklch0.1781 0.0813 263.29
oklab0.1781 -0.01 -0.08
CMYK
98.08% 76.92% 0% 79.61%
98.0876.92079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1781 0.0813 263.29
0.17810.0813263.29LCH
Lightness
Chroma
Hue
OKLAB
0.1781 -0.01 -0.08
0.1781-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons