# Cobalt color guide

> Cobalt is #0047AB (rgb(0, 71, 171)). Pairings, WCAG contrast, harmonies, shades and tints for cobalt.

Source: https://www.linearity.io/academy/colors/cobalt/

#0047AB

HEX

#0047AB

RGB

rgb(0, 71, 171)

HSL

hsl(215, 100%, 34%)

CMYK

cmyk(100%, 58%, 0%, 33%)

A denser, more pigmented royal blue that holds up in print where brighter blues go flat. It reads confident without tipping into navy's formality.

Best for

Print-first brand systems and packaging.

## Accessibility

Sample

Cobalt text on white 8.44:1 AAA

Sample

White text on cobalt 8.44:1 AAA

Sample

Cobalt text on black 2.49:1 Fail

Sample

Black text on cobalt 2.49:1 Fail

Ratios follow WCAG 2.1. AA needs 4.5:1 for body text, AAA needs 7:1; large text passes AA at 3:1. To test cobalt against any other color, use the [color contrast checker](https://www.linearity.io/tools/contrast-checker/).

## Colors that go with cobalt

Combinations that hold up in a real layout rather than only on the colour wheel.

[Cream#FFFDD0](https://www.linearity.io/academy/colors/cream/)[Burnt Orange#CC5500](https://www.linearity.io/academy/colors/burnt-orange/)[White#FFFFFF](https://www.linearity.io/academy/colors/white/)

## Cobalt color harmonies

Complementary

The opposite hue — highest contrast, best used sparingly.

#0047AB #AD6500

Analogous

Neighbouring hues that sit together calmly.

#009FAD #0047AB #0E00AD

Triadic

Three evenly spaced hues — vivid but balanced.

#0047AB #AD0048 #48AD00

Split complementary

Softer than complementary, with the same tension.

#0047AB #AD0E00 #9FAD00

## Cobalt shades and tints

The same hue and saturation across ten lightness steps — the basis of a usable colour ramp in a design system.

#E5F0FF#B3D2FF#80B5FF#4D97FF#1A79FF#0060E6#004AB3#003580#00204D#001129

## Cobalt FAQ

What is the hex code for cobalt?

Cobalt is #0047AB. In other formats that is rgb(0, 71, 171), hsl(215, 100%, 34%), and approximately cmyk(100%, 58%, 0%, 33%) for print.

What colors go with cobalt?

Cream, Burnt Orange, White all pair well with cobalt. Print-first brand systems and packaging.

Is cobalt accessible for text?

Yes — cobalt text on white reaches 8.44:1, which passes WCAG AA for body text.

Should text on cobalt be black or white?

Use white text. It gives the higher contrast ratio of the two against #0047AB.

## More blue colors

[Navy Blue#000080](https://www.linearity.io/academy/colors/navy-blue/)[Royal Blue#4169E1](https://www.linearity.io/academy/colors/royal-blue/)[Sky Blue#87CEEB](https://www.linearity.io/academy/colors/sky-blue/)[Teal#008080](https://www.linearity.io/academy/colors/teal/)[Midnight Blue#191970](https://www.linearity.io/academy/colors/midnight-blue/)[Powder Blue#B0E0E6](https://www.linearity.io/academy/colors/powder-blue/)

## Try it now. Turn any idea into a design.

Free to start. No credit card required. [See pricing](https://www.linearity.io/pricing/)

---
From https://www.linearity.io. An index of the site for AI agents is at https://www.linearity.io/llms.txt
