Midnight

#041531

General Information about #041531

The hex color #041531, often referred to as Midnight, is a very dark shade of blue, almost appearing black to the naked eye. It is composed of 1.57% red, 8.24% green, and 19.22% blue. In the RGB color space, it is represented as RGB(4, 21, 49). This color falls within the cool spectrum, evoking feelings of calmness, depth, and mystery. Due to its high concentration of blue, it is often associated with night, the ocean depths, and a sense of tranquility. In color theory, #041531 can be used to create a sophisticated and elegant aesthetic, especially when paired with lighter, contrasting colors. Its dark nature makes it suitable for backgrounds and accents where a subtle and refined look is desired. It is not the best option for foreground text unless paired with a very light background to meet accessibility standards.

The hex color #041531, a very dark shade of midnight blue, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance necessitates careful consideration of color contrast ratios to ensure readability for users, especially those with visual impairments. According to WCAG guidelines, sufficient contrast is crucial for text to be perceivable. When using #041531 for text, it is imperative to pair it with a very light color for the background. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Failure to meet these ratios can result in content that is illegible for many users. This color may work better for large graphic elements where fine detail is not essential. Therefore, web developers should utilize contrast checking tools to validate the accessibility of color combinations involving #041531.

Shades

Digital Color Formats

RGB
4 21 49
RGB4 21 49
Red
Green
Blue
HSL
217.33deg 84.91% 10.39%
217.3384.9110.39HSL
Hue
Saturation
Lightness
HWB
217.33deg 1.57% 80.78%
217.331.5780.78HWB
Hue
Whiteness
Blackness
hex#041531
rgb4 21 49
hsl217.33deg 84.91% 10.39%
cmyk91.84% 57.14% 0% 80.78%
hwb217.33deg 1.57% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2003 0.0608 258.78
oklab0.2003 -0.01 -0.06
CMYK
91.84% 57.14% 0% 80.78%
91.8457.14080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2003 0.0608 258.78
0.20030.0608258.78LCH
Lightness
Chroma
Hue
OKLAB
0.2003 -0.01 -0.06
0.2003-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons