Ultramarine

#0C158F

General Information about #0C158F

The hexadecimal color code #0C158F represents a deep and rich shade of blue, often associated with the color Ultramarine. It is composed of 4.71% red, 8.24% green, and 56.08% blue. In the RGB color model, this translates to 12 red, 21 green, and 143 blue. The corresponding CMYK color code is C:92, M:85, Y:0, K:44, indicating a high concentration of cyan and magenta, with minimal yellow. This color evokes feelings of depth, stability, and trust. In terms of light and reflectance, #0C158F has a low luminance value, making it appear dark to the human eye. Its hue angle is 231.8 degrees, its saturation is 85.7%, and its lightness is 30.1%.

The color #0C158F, a deep shade of blue reminiscent of Ultramarine, presents specific accessibility considerations for web developers. Given its low luminance, pairing it with similarly dark colors can result in poor contrast, making text or interactive elements difficult to read for users, especially those with visual impairments. According to WCAG guidelines, sufficient contrast is crucial for accessibility. For text, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Therefore, when using #0C158F as a background, it's essential to use light-colored text (e.g., white or very light gray) to ensure readability. Tools like contrast checkers can help determine if the color combination meets accessibility standards. Additionally, avoid relying solely on color to convey information, as colorblind users may not perceive the intended message. Providing alternative visual cues, such as icons or text labels, can improve accessibility for a wider audience.

Shades

Digital Color Formats

RGB
12 21 143
RGB12 21 143
Red
Green
Blue
HSL
235.88 84.52% 30.39%
235.8884.5230.39HSL
Hue
Saturation
Lightness
HWB
235.88 4.71% 43.92%
235.884.7143.92HWB
Hue
Whiteness
Blackness
hex#0C158F
rgb12 21 143
hsl235.88 84.52% 30.39%
cmyk91.61% 85.31% 0% 43.92%
hwb235.88 4.71% 43.92%
xyz5.38 2.6 26.2
CMYK
91.61% 85.31% 0% 43.92%
91.6185.31043.92CMYK
Cyan
Magenta
Yellow
Key
XYZ
5.38 2.6 26.2
5.382.626.2XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025