Midnight

#041330

General Information about #041330

The hexadecimal color code #041330 represents a very dark shade of blue, often referred to as Midnight. It is composed of 1.57% red, 7.45% green, and 18.82% blue. In the RGB color model, this translates to 4 red, 19 green, and 48 blue. The color's darkness results in a low luminance value. This color is often associated with sophistication, depth, and mystery. It is commonly used in designs aiming to convey a sense of formality or nighttime ambiance. It is not suitable for use as a foreground color on a white background without careful consideration of contrast ratios for accessibility.

The hex color #041330, also known as Midnight, presents some accessibility challenges due to its dark nature. When used as a background color, it requires very light text (white or near-white) to ensure sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using a color like #041330 for text on a light background is strongly discouraged as it will be very difficult to read. Developers should use color contrast tools to verify that the combination of #041330 with other colors meets accessibility standards, especially for users with visual impairments. Thoughtful consideration of color combinations is crucial to creating inclusive and user-friendly web experiences. Avoid using it for critical information without ensuring adequate contrast.

Shades

Digital Color Formats

RGB
4 19 48
RGB4 19 48
Red
Green
Blue
HSL
219.55deg 84.62% 10.2%
219.5584.6210.2HSL
Hue
Saturation
Lightness
HWB
219.55deg 1.57% 81.18%
219.551.5781.18HWB
Hue
Whiteness
Blackness
hex#041330
rgb4 19 48
hsl219.55deg 84.62% 10.2%
cmyk91.67% 60.42% 0% 81.18%
hwb219.55deg 1.57% 81.18%
xyz-d650.01 0.01 0.03
oklch0.1939 0.0622 260.69
oklab0.1939 -0.01 -0.06
CMYK
91.67% 60.42% 0% 81.18%
91.6760.42081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1939 0.0622 260.69
0.19390.0622260.69LCH
Lightness
Chroma
Hue
OKLAB
0.1939 -0.01 -0.06
0.1939-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons