Midnight

#041B2B

General Information About Midnight (#041B2B)

The hexadecimal color code #041B2B, often referred to as Midnight, represents a very dark shade of cyan-blue. It is composed of 1.57% red, 10.59% green, and 17.25% blue. In the RGB color space, this translates to 4 red, 27 green, and 43 blue. The color has a hue angle of 205.7 degrees, a saturation of 84.4%, and a lightness of 9%. In terms of perception, Midnight is perceived as a cool and subdued color, often associated with sophistication, mystery, and depth. It's a color that is frequently used to convey a sense of calm and seriousness, making it suitable for formal or professional contexts. It's important to note that due to its dark nature, it requires careful consideration of contrast when used in design to ensure readability and accessibility.

The hex color #041B2B, also known as Midnight, presents a significant accessibility challenge. Its very low luminance value results in extremely poor contrast against standard white backgrounds, failing WCAG's AA and AAA standards for text and non-text contrast. Using this color for text or important interface elements against a light background would render them illegible for many users, including those with low vision. To ensure accessibility, it is crucial to pair #041B2B with very light colors like #FFFFFF, #F0F0F0, or even brighter shades of yellow or green. When using this color, always verify contrast ratios with accessibility checkers to meet guidelines. Avoid using it for critical interactive elements without significant contrast improvements.

Shades

Digital Color Formats

RGB
4 27 43
RGB4 27 43
Red
Green
Blue
HSL
204.62 82.98% 9.22%
204.6282.989.22HSL
Hue
Saturation
Lightness
HWB
204.62 1.57% 83.14%
204.621.5783.14HWB
Hue
Whiteness
Blackness
hex#041B2B
rgb4 27 43
hsl204.62 82.98% 9.22%
cmyk90.7% 37.21% 0% 83.14%
hwb204.62 1.57% 83.14%
xyz0.88 0.98 2.43
CMYK
90.7% 37.21% 0% 83.14%
90.737.21083.14CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.88 0.98 2.43
0.880.982.43XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025