Skip to the color picker

Cobalt color: #0047ab

Cobalt is #0047ab, rgb(0, 71, 171) in RGB and oklch(42.842% 0.17202 259.702) in OKLCH. Every other format, shades, matching colors and palettes are below.

Read as HEX

215°
100%

42.8%
0.172
260°
  • Blue
  • Dark
  • Vivid
  • Deep
  • Cool
  • blue-800
  • Black 33%

Inside sRGB: displays the same on any screen.

White text
8.44:1Readable · AA
Lc -93
Black text
2.49:1Hard to read
Lc 16

Shades

From lightest to darkest. Click a shade to use it.

Harmonies

Recent

Colors you stop on or copy appear here. They stay on this device.

Also called: Cobalt blue

Palettes with Cobalt

Similar named colors

Questions about Cobalt

What is the hex code for Cobalt?

The hex code for Cobalt is #0047ab. In RGB it is rgb(0, 71, 171), in HSL hsl(215.09, 100%, 33.53%) and in OKLCH oklch(42.842% 0.17202 259.702).

What colors go well with Cobalt?

Its complementary color is #6e4600. For a calmer look, pair it with the analogous colors #00587e and #5233a5. Ready palettes with Cobalt are shown on this page.

Is Cobalt a warm or cool color?

Cobalt is a cool color with an OKLCH hue of 260 degrees.

What text color is readable on Cobalt?

White text is more readable on Cobalt: white gives a contrast ratio of 8.44:1 and black gives 2.49:1. WCAG AA asks for at least 4.5:1 for body text.

About #0047ab

#0047ab is a deep dark blue color. In OKLCH it has 42.8% lightness, 0.172 chroma and a hue of 260°.

Inside sRGB: displays the same on any screen.

White text on it reaches 8.44:1 contrast and black text 2.49:1, so white text reads better.

The closest named color is Soulstone Blue (#0047ab). In Tailwind CSS the closest color is blue-800.

More dark blue colors

Lighter: #0047ab mixed with white

  1. 0047ab

Darker: #0047ab mixed with black

  1. 0047ab

Calmer: #0047ab with less saturation

  1. 0047ab

Similar named colors

  • Soulstone Blue#0047ab

Colors that go with #0047ab

Complementary
#0047ab
Analogous
#0047ab
Triadic
#0047ab
Split
#0047ab