Cobalt

#0040B4

General Information about Cobalt (#0040B4)

Cobalt, represented by the hexadecimal color code #0040B4, is a deep and vibrant shade of blue. It belongs to the blue color family and is often associated with trust, stability, and intelligence. In the RGB color model, it consists of 0% red, 25.1% green, and 70.6% blue. The CMYK color model representation is 100% cyan, 64.3% magenta, 0% yellow, and 29.4% black. Cobalt's relatively low lightness value makes it suitable for use as a background color when paired with light text or elements, but it can also be effective as an accent color to add depth and visual interest to designs. Its name is derived from the element cobalt, which produces similar blue pigments when used in dyes and paints.

The color #0040B4, also known as Cobalt, presents some accessibility challenges, especially in text-based applications. Its relatively low luminance value of 11% necessitates careful consideration of contrast ratios. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text against its background. When using #0040B4 as a background color, it is crucial to pair it with light text colors like white (#FFFFFF) or very light grays to meet these contrast requirements. Avoid using dark or moderately dark colors as text on a #0040B4 background, as this will likely fail accessibility standards, making the content difficult for users with visual impairments to read. For graphical elements and user interface components, ensure a contrast ratio of at least 3:1 against adjacent colors.

Shades

Digital Color Formats

RGB
0 64 180
RGB0 64 180
Red
Green
Blue
HSL
218.67 100% 35.29%
218.6710035.29HSL
Hue
Saturation
Lightness
HWB
218.67 0% 29.41%
218.67029.41HWB
Hue
Whiteness
Blackness
hex#0040B4
rgb0 64 180
hsl218.67 100% 35.29%
cmyk100% 64.44% 0% 29.41%
hwb218.67 0% 29.41%
xyz10.07 6.96 43.99
CMYK
100% 64.44% 0% 29.41%
10064.44029.41CMYK
Cyan
Magenta
Yellow
Key
XYZ
10.07 6.96 43.99
10.076.9643.99XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025