Midnight

#041331

General Information about #041331

The hexadecimal color code #041331, commonly referred to as Midnight, is a dark shade of blue, precisely a very dark cyan-blue. It is composed of 1.57% red, 7.45% green, and 19.22% blue. In the RGB color model, this translates to R:4, G:19, B:49. When converted to the CMYK color model, its values are C:92, M:61, Y:0, K:81. This indicates a strong presence of cyan and magenta with minimal yellow, resulting in its deep blue tone. Perceptually, Midnight evokes feelings of calmness, sophistication, and depth, often associated with the night sky or the deep sea. It's a color frequently used to convey a sense of mystery and elegance in both design and art.

The hex color #041331, also known as Midnight, presents considerable accessibility challenges, particularly in text-based contexts. Its extremely low luminance value (very dark) necessitates careful consideration of contrast ratios. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments to perceive content effectively. When using #041331 as a background, it is essential to pair it with a very light text color to achieve a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Failure to meet these ratios can render content illegible for a significant portion of users. Furthermore, avoid using this color for interactive elements without clear visual cues, as users may struggle to identify them. Thorough testing with accessibility tools is highly recommended to ensure compliance and optimal user experience.

Shades

Digital Color Formats

RGB
4 19 49
RGB4 19 49
Red
Green
Blue
HSL
220deg 84.91% 10.39%
22084.9110.39HSL
Hue
Saturation
Lightness
HWB
220deg 1.57% 80.78%
2201.5780.78HWB
Hue
Whiteness
Blackness
hex#041331
rgb4 19 49
hsl220deg 84.91% 10.39%
cmyk91.84% 61.22% 0% 80.78%
hwb220deg 1.57% 80.78%
xyz-d650.01 0.01 0.03
oklch0.1948 0.0639 261.09
oklab0.1948 -0.01 -0.06
CMYK
91.84% 61.22% 0% 80.78%
91.8461.22080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1948 0.0639 261.09
0.19480.0639261.09LCH
Lightness
Chroma
Hue
OKLAB
0.1948 -0.01 -0.06
0.1948-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons