Ultramarine

#040796

About Ultramarine

The hex color #040796, often referred to as Ultramarine, is a deep and intense shade of blue. It belongs to the blue color family and is characterized by its strong saturation and dark hue. In the RGB color model, it is composed of 1.57% red, 2.75% green, and 58.82% blue. The name "Ultramarine" originates from the Latin "ultramarinus," meaning "beyond the sea," as the pigment was originally imported from overseas, typically derived from the mineral lapis lazuli. Historically, it was highly prized and expensive, often associated with royalty and religious figures in art. Today, synthetic versions are widely available, making it an accessible color for various applications.

The hex color #040796, a deep shade of ultramarine, presents significant accessibility challenges, especially in web design. Its very low luminance (darkness) means that text rendered in white or lighter colors is essential to achieve sufficient contrast for readability. Using online contrast checkers can help ensure compliance with WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for large text. Be cautious when using this color for interactive elements such as buttons or links; clear visual cues beyond color alone are necessary to make these elements accessible to users with color vision deficiencies. Thoughtful design is key to inclusive experiences.

Shades

Digital Color Formats

RGB
4 7 150
RGB4 7 150
Red
Green
Blue
HSL
238.77deg 94.81% 30.2%
238.7794.8130.2HSL
Hue
Saturation
Lightness
HWB
238.77deg 1.57% 41.18%
238.771.5741.18HWB
Hue
Whiteness
Blackness
hex#040796
rgb4 7 150
hsl238.77deg 94.81% 30.2%
cmyk97.33% 95.33% 0% 41.18%
hwb238.77deg 1.57% 41.18%
xyz-d650.06 0.02 0.29
oklch0.3104 0.2066 265
oklab0.3104 -0.02 -0.21
CMYK
97.33% 95.33% 0% 41.18%
97.3395.33041.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.06 0.02 0.29
0.060.020.29XYZ
X
Y
Z
OKLCH
0.3104 0.2066 265
0.31040.2066265LCH
Lightness
Chroma
Hue
OKLAB
0.3104 -0.02 -0.21
0.3104-0.02-0.21LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons