Midnight

#001A34

General Information about Midnight (#001A34)

The hexadecimal color code #001a34 represents a dark shade of blue, often referred to as "Midnight." It is composed of 0% red, 10.2% green, and 20.4% blue. In the RGB color model, this translates to R:0, G:26, B:52. The color is mostly used as a background color and gives a professional and calm look. The color is not very bright, but rather calm and mysterious. The human eye perceives this color as calming and stable, and it is often associated with authority, elegance, and intelligence. In web design, this color can be used for creating a serious and sophisticated ambiance.

The hex color #001a34, often referred to as Midnight, presents specific accessibility considerations for web design. Its dark nature means that it requires light-colored text 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. Using white (#FFFFFF) or very light gray text on a #001a34 background typically meets these requirements, enhancing the user experience, especially for individuals with visual impairments. Careful consideration of color contrast is crucial to provide accessible and inclusive web content. Testing with accessibility tools is recommended.

Shades

Digital Color Formats

RGB
0 26 52
RGB0 26 52
Red
Green
Blue
HSL
210deg 100% 10.2%
21010010.2HSL
Hue
Saturation
Lightness
HWB
210deg 0% 79.61%
210079.61HWB
Hue
Whiteness
Blackness
hex#001A34
rgb0 26 52
hsl210deg 100% 10.2%
cmyk100% 50% 0% 79.61%
hwb210deg 0% 79.61%
xyz-d650.01 0.01 0.03
oklch0.2146 0.061 250.18
oklab0.2146 -0.02 -0.06
CMYK
100% 50% 0% 79.61%
10050079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2146 0.061 250.18
0.21460.061250.18LCH
Lightness
Chroma
Hue
OKLAB
0.2146 -0.02 -0.06
0.2146-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons