Midnight

#041A30

General Information about #041A30

The hex color code #041A30 represents a very dark shade of blue, often referred to as Midnight. It is composed of 1.57% red, 10.2% green, and 18.82% blue. In the RGB color model, this translates to (4, 26, 48). The corresponding CMYK values are (91.67, 45.83, 0, 81.18). This color falls within the cool spectrum and evokes feelings of calmness, depth, and sophistication. Due to its low luminance, it is often used as a background color or in combination with lighter hues to create contrast. The color's hexadecimal representation makes it easily adaptable for digital design and web development. Its subtle nature makes it suitable for applications where a non-distracting background is required. The dark, muted tone aligns with designs aiming for elegance and solemnity.

The hex color #041A30, often referred to as Midnight, presents some accessibility challenges, primarily due to its low luminance. When used as a foreground color, it requires careful consideration of the background color to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text. Using #041A30 for text on a white background would fail these criteria. Therefore, it's crucial to pair it with a very light color to meet accessibility standards. Alternatively, it can be used for decorative elements where text legibility is not a primary concern, but even then, providing sufficient contrast is essential for users with visual impairments. Avoid using this color for important interactive elements without ensuring proper contrast.

Shades

Digital Color Formats

RGB
4 26 48
RGB4 26 48
Red
Green
Blue
HSL
210deg 84.62% 10.2%
21084.6210.2HSL
Hue
Saturation
Lightness
HWB
210deg 1.57% 81.18%
2101.5781.18HWB
Hue
Whiteness
Blackness
hex#041A30
rgb4 26 48
hsl210deg 84.62% 10.2%
cmyk91.67% 45.83% 0% 81.18%
hwb210deg 1.57% 81.18%
xyz-d650.01 0.01 0.03
oklch0.2138 0.0521 250.5
oklab0.2138 -0.02 -0.05
CMYK
91.67% 45.83% 0% 81.18%
91.6745.83081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2138 0.0521 250.5
0.21380.0521250.5LCH
Lightness
Chroma
Hue
OKLAB
0.2138 -0.02 -0.05
0.2138-0.02-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons