Midnight

#001D34

General Information

The hexadecimal color code #001D34 represents a dark shade of blue, often referred to as 'Midnight'. It is composed of 0% red, 11.4% green, and 20.4% blue. In the RGB color model, this translates to R:0, G:29, B:52. The color is commonly associated with feelings of calmness, depth, and sophistication. Its dark nature makes it a popular choice for backgrounds in digital design, particularly when paired with light-colored text or elements to create contrast. Understanding the properties of this color, including its RGB values and its psychological associations, is crucial for designers aiming to create effective and visually appealing designs.

The hex color #001d34, often referred to as Midnight, presents specific accessibility challenges primarily due to its dark nature. When used as a background color, sufficient contrast is crucial to ensure readability for users with visual impairments. 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. Given its darkness, #001d34 necessitates the use of very light text colors to meet these standards. Without adequate contrast, users may struggle to discern text, leading to a poor user experience. Using tools to measure contrast ratios can help web developers ensure their designs are accessible. It is also advisable to provide alternative color schemes to accommodate users with different visual preferences or impairments.

Shades

Digital Color Formats

RGB
0 29 52
RGB0 29 52
Red
Green
Blue
HSL
206.54deg 100% 10.2%
206.5410010.2HSL
Hue
Saturation
Lightness
HWB
206.54deg 0% 79.61%
206.54079.61HWB
Hue
Whiteness
Blackness
hex#001D34
rgb0 29 52
hsl206.54deg 100% 10.2%
cmyk100% 44.23% 0% 79.61%
hwb206.54deg 0% 79.61%
xyz-d650.01 0.01 0.03
oklch0.2235 0.0571 245.72
oklab0.2235 -0.02 -0.05
CMYK
100% 44.23% 0% 79.61%
10044.23079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2235 0.0571 245.72
0.22350.0571245.72LCH
Lightness
Chroma
Hue
OKLAB
0.2235 -0.02 -0.05
0.2235-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons