Ultramarine

#040594

About Ultramarine (#040594)

The hex color #040594, commonly known as Ultramarine, is a deep shade of blue. It originates from the pigment derived from the gemstone lapis lazuli. Historically, ultramarine was highly prized and expensive, often reserved for use in important artworks, especially for depicting the robes of the Virgin Mary in religious paintings. In the RGB color model, #040594 is composed of 1.6% red, 2% green, and 58% blue. This makes it an intense blue shade with minimal contributions from red and green. In the world of art, it evokes feelings of royalty, wisdom, and spirituality and is often associated with depth, stability, and trust. Because of its rich history and cultural significance, ultramarine continues to be a popular color choice in various fields, from graphic design to fashion.

The color #040594, a deep ultramarine, presents significant accessibility challenges. Its extremely low luminance value of 0.003 means it provides very little contrast against white text or backgrounds. Consequently, it fails WCAG's AA and AAA standards for normal text sizes, requiring very large text sizes (above 24px or 19px bold) to pass even basic contrast requirements. To ensure readability and usability for all users, especially those with visual impairments, pairing this color with a much lighter color is crucial. Consider using white or very light shades of yellow or cyan for text or interactive elements placed on an ultramarine background. Avoid using this color for important visual cues without accompanying text or high-contrast icons.

Shades

Digital Color Formats

RGB
4 5 148
RGB4 5 148
Red
Green
Blue
HSL
239.58deg 94.74% 29.8%
239.5894.7429.8HSL
Hue
Saturation
Lightness
HWB
239.58deg 1.57% 41.96%
239.581.5741.96HWB
Hue
Whiteness
Blackness
hex#040594
rgb4 5 148
hsl239.58deg 94.74% 29.8%
cmyk97.3% 96.62% 0% 41.96%
hwb239.58deg 1.57% 41.96%
xyz-d650.05 0.02 0.28
oklch0.3061 0.2054 265.01
oklab0.3061 -0.02 -0.2
CMYK
97.3% 96.62% 0% 41.96%
97.396.62041.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.05 0.02 0.28
0.050.020.28XYZ
X
Y
Z
OKLCH
0.3061 0.2054 265.01
0.30610.2054265.01LCH
Lightness
Chroma
Hue
OKLAB
0.3061 -0.02 -0.2
0.3061-0.02-0.2LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons