Ultramarine

#040A97

General Information about Ultramarine

Ultramarine, represented by the hexadecimal color code #040A97, is a deep and intense shade of blue. Historically, the term "ultramarine" derives from the Latin "ultramarinus," meaning "beyond the sea," as the pigment was originally imported from mines in Afghanistan via sea routes. It was highly prized in the Middle Ages and Renaissance for its vividness and purity, often used in paintings to depict the robes of the Virgin Mary. Chemically, the original pigment was derived from the mineral lapis lazuli. Today, a synthetic version of ultramarine is widely available, offering the same brilliant hue at a fraction of the cost. In color theory, ultramarine is considered a cool color, often associated with feelings of calmness, serenity, and trust. Its deep saturation makes it a visually striking color that can add depth and richness to various applications.

The color #040A97, a deep ultramarine, presents significant accessibility challenges, especially when used as a background or text color. Its low luminance value of approximately 0.3% necessitates careful consideration of contrast ratios. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text against its background to ensure readability for users with moderate visual impairments. Given the darkness of this color, only very light colors, such as shades of white or very pale yellow, will provide sufficient contrast. Using darker shades or even mid-tone colors for text on this background would render the content largely inaccessible. Web developers should utilize contrast checking tools to verify compliance and consider providing alternative high-contrast themes to accommodate users with diverse visual needs. Additionally, avoid using this color for crucial visual elements without sufficient contrast, as it may not be perceivable by all users.

Shades

Digital Color Formats

RGB
4 10 151
RGB4 10 151
Red
Green
Blue
HSL
237.55 94.84% 30.39%
237.5594.8430.39HSL
Hue
Saturation
Lightness
HWB
237.55 1.57% 40.78%
237.551.5740.78HWB
Hue
Whiteness
Blackness
hex#040A97
rgb4 10 151
hsl237.55 94.84% 30.39%
cmyk97.35% 93.38% 0% 40.78%
hwb237.55 1.57% 40.78%
xyz5.74 2.48 29.45
CMYK
97.35% 93.38% 0% 40.78%
97.3593.38040.78CMYK
Cyan
Magenta
Yellow
Key
XYZ
5.74 2.48 29.45
5.742.4829.45XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025