Midnight

#041731

General Information about Midnight (#041731)

The hex color #041731, often referred to as 'Midnight', is a very dark shade of blue, almost approaching black. It resides within the deep end of the blue color spectrum and is often associated with sophistication, mystery, and the quiet stillness of the night. In the RGB color model, it consists of 4 parts red, 23 parts green and 49 parts blue. This color is frequently used in design contexts where a subtle yet profound impact is desired. Due to its low luminance value, 'Midnight' creates a sense of depth and can be used to establish a strong visual hierarchy when paired with lighter colors. It is a popular choice for backgrounds, text, and other elements where a dark, understated presence is needed.

The hex color #041731, also known as Midnight, presents significant accessibility challenges due to its extremely low luminance. With such a dark shade, it is imperative to use very light text colors to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background must be at least 4.5:1 for normal text and 3:1 for large text (14pt bold or 18pt regular). When using #041731 as a background, white or very light shades of yellow or cyan are recommended for text to meet these standards. Avoid using darker shades or colors with similar luminance values, as this will render the text illegible for many users, especially those with visual impairments. Always test color combinations with accessibility tools to verify compliance.

Shades

Digital Color Formats

RGB
4 23 49
RGB4 23 49
Red
Green
Blue
HSL
214.67deg 84.91% 10.39%
214.6784.9110.39HSL
Hue
Saturation
Lightness
HWB
214.67deg 1.57% 80.78%
214.671.5780.78HWB
Hue
Whiteness
Blackness
hex#041731
rgb4 23 49
hsl214.67deg 84.91% 10.39%
cmyk91.84% 53.06% 0% 80.78%
hwb214.67deg 1.57% 80.78%
xyz-d650.01 0.01 0.03
oklch0.2059 0.0579 256.14
oklab0.2059 -0.01 -0.06
CMYK
91.84% 53.06% 0% 80.78%
91.8453.06080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2059 0.0579 256.14
0.20590.0579256.14LCH
Lightness
Chroma
Hue
OKLAB
0.2059 -0.01 -0.06
0.2059-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons