Midnight

#041831

General Information about Midnight (#041831)

The hex color #041831, commonly referred to as Midnight, is a very dark shade of blue. It is composed of 1.57% red, 9.41% green, and 19.22% blue. In the RGB color space, it is defined by the values R:4, G:24, and B:49. This color evokes a sense of depth, mystery, and sophistication. Due to its low luminance, it falls into the category of darker colors. Midnight can be effectively used to create a calming and luxurious feel. It finds use in various applications, including web design, graphic design, and interior decor. Its hexadecimal triplet is #041831, with an approximate CMYK representation of (92, 51, 0, 81). The color's name is derived from its resemblance to the darkness of the night sky at midnight.

The hex color #041831, also known as Midnight, presents significant accessibility challenges due to its low luminance. With such a dark shade, it is imperative to use contrasting text colors, ideally white or very light shades of yellow or green, to ensure readability. The contrast ratio should meet or exceed WCAG (Web Content Accessibility Guidelines) standards, specifically a ratio of 4.5:1 for normal text and 3:1 for large text. Insufficient contrast can exclude users with visual impairments, including those with low vision or color blindness. Avoid using this color for essential UI elements like buttons or links without careful consideration of contrast. Thorough testing with accessibility evaluation tools is highly recommended to guarantee usability for all users. Furthermore, avoid pairing this color with other dark shades as this will further decrease contrast and readability. Consider providing alternative color schemes that offer better contrast for users who may need them.

Shades

Digital Color Formats

RGB
4 24 49
RGB4 24 49
Red
Green
Blue
HSL
213.33 84.91% 10.39%
213.3384.9110.39HSL
Hue
Saturation
Lightness
HWB
213.33 1.57% 80.78%
213.331.5780.78HWB
Hue
Whiteness
Blackness
hex#041831
rgb4 24 49
hsl213.33 84.91% 10.39%
cmyk91.84% 51.02% 0% 80.78%
hwb213.33 1.57% 80.78%
xyz0.93 0.9 3.03
CMYK
91.84% 51.02% 0% 80.78%
91.8451.02080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.93 0.9 3.03
0.930.93.03XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025