Ultramarine

#040C94

General Information about Ultramarine

The hexadecimal color code #040C94 represents a dark shade of blue, often referred to as ultramarine. It is composed of 1.57% red, 4.71% green, and 58.04% blue. In the RGB color model, this translates to 4 red, 12 green, and 148 blue. The color's high blue component gives it a distinctively cool and calming character. Ultramarine is known for its depth and richness, reminiscent of the pigment originally derived from lapis lazuli. This color is frequently used in digital media, graphic design, and branding to evoke feelings of trust, stability, and intelligence. However, due to its darkness, it is crucial to ensure sufficient contrast with foreground elements like text to maintain readability and accessibility.

The color #040C94, a deep ultramarine, presents some accessibility challenges, especially when used as a text color. Its low luminance (darkness) requires careful consideration of the background color to ensure sufficient contrast. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet AA standards. When using #040C94 for text, lighter backgrounds such as whites, very light grays, or pale yellows are recommended to provide adequate contrast. Using it for interactive elements such as buttons, the focus state should be clearly indicated with a high-contrast outline or background change. Designers should use color contrast checker tools to verify compliance with accessibility standards to accommodate users with visual impairments.

Shades

Digital Color Formats

RGB
4 12 148
RGB4 12 148
Red
Green
Blue
HSL
236.67deg 94.74% 29.8%
236.6794.7429.8HSL
Hue
Saturation
Lightness
HWB
236.67deg 1.57% 41.96%
236.671.5741.96HWB
Hue
Whiteness
Blackness
hex#040C94
rgb4 12 148
hsl236.67deg 94.74% 29.8%
cmyk97.3% 91.89% 0% 41.96%
hwb236.67deg 1.57% 41.96%
xyz-d650.06 0.02 0.28
oklch0.3111 0.2021 265.04
oklab0.3111 -0.02 -0.2
CMYK
97.3% 91.89% 0% 41.96%
97.391.89041.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.06 0.02 0.28
0.060.020.28XYZ
X
Y
Z
OKLCH
0.3111 0.2021 265.04
0.31110.2021265.04LCH
Lightness
Chroma
Hue
OKLAB
0.3111 -0.02 -0.2
0.3111-0.02-0.2LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons