Ultramarine

#040794

General Information about Ultramarine (#040794)

The hex color code #040794 represents a deep shade of blue, often referred to as ultramarine. In the RGB color model, it is composed of 1.57% red, 2.75% green, and 58.04% blue. This means that the color is heavily skewed towards the blue end of the spectrum. In the CMYK color model, commonly used in printing, it consists of 97% cyan, 94% magenta, 0% yellow, and 42% black. This indicates that it is a rich and saturated color. Ultramarine has a long history, originally derived from the precious gemstone lapis lazuli. It has been prized for centuries for its vibrant and lasting hue and is often associated with royalty, artistry, and depth.

The color #040794, a deep ultramarine, presents significant accessibility challenges, especially when used as a background for text. Due to its low luminance, it requires very light text colors to achieve sufficient contrast for readability, ideally white (#FFFFFF) or a very pale shade of yellow. Using darker text colors would result in poor contrast, making the text difficult to read, particularly for users with visual impairments. According to WCAG guidelines, sufficient contrast is crucial for ensuring accessibility. A contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for large text. When using #040794, careful consideration should be given to the text color and font size to meet these guidelines. Tools are available online to calculate the contrast ratio between two colors to help ensure accessibility compliance.

Shades

Digital Color Formats

RGB
4 7 148
RGB4 7 148
Red
Green
Blue
HSL
238.75deg 94.74% 29.8%
238.7594.7429.8HSL
Hue
Saturation
Lightness
HWB
238.75deg 1.57% 41.96%
238.751.5741.96HWB
Hue
Whiteness
Blackness
hex#040794
rgb4 7 148
hsl238.75deg 94.74% 29.8%
cmyk97.3% 95.27% 0% 41.96%
hwb238.75deg 1.57% 41.96%
xyz-d650.05 0.02 0.28
oklch0.3075 0.2045 265.02
oklab0.3075 -0.02 -0.2
CMYK
97.3% 95.27% 0% 41.96%
97.395.27041.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.05 0.02 0.28
0.050.020.28XYZ
X
Y
Z
OKLCH
0.3075 0.2045 265.02
0.30750.2045265.02LCH
Lightness
Chroma
Hue
OKLAB
0.3075 -0.02 -0.2
0.3075-0.02-0.2LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons