Ultramarine

#040299

General Information about #040299

The hex color code #040299 represents a very deep shade of blue, often referred to as ultramarine. It is composed of 1.57% red, 0.78% green, and 60% blue. In the RGB color model, it is close to pure blue, with minimal contributions from red and green. This color is typically associated with feelings of depth, stability, and trust. Due to its high blue component, it tends to evoke a sense of calmness and serenity, but its darkness can also suggest a feeling of formality or even sadness. The color is named after the pigment ultramarine, originally derived from the gemstone lapis lazuli.

The color #040299, a deep ultramarine, presents significant accessibility challenges, especially in web design. Its extremely low lightness value (close to 0) means it offers very poor contrast against standard light backgrounds like white. Text rendered in this color on a white background would be nearly illegible for most users, including those with normal vision. Individuals with visual impairments would find it even more difficult, if not impossible, to read. To improve accessibility, this color should be paired with very light or even white text. Furthermore, consider using it for larger graphical elements rather than fine text. Proper contrast ratios, as specified by WCAG guidelines, should be meticulously checked to ensure compliance and a positive user experience. Other considerations include providing alternative color schemes or high-contrast modes for users with specific visual needs.

Shades

Digital Color Formats

RGB
4 2 153
RGB4 2 153
Red
Green
Blue
HSL
240.79 97.42% 30.39%
240.7997.4230.39HSL
Hue
Saturation
Lightness
HWB
240.79 0.78% 40%
240.790.7840HWB
Hue
Whiteness
Blackness
hex#040299
rgb4 2 153
hsl240.79 97.42% 30.39%
cmyk97.39% 98.69% 0% 40%
hwb240.79 0.78% 40%
xyz5.82 2.37 30.29
CMYK
97.39% 98.69% 0% 40%
97.3998.69040CMYK
Cyan
Magenta
Yellow
Key
XYZ
5.82 2.37 30.29
5.822.3730.29XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025