---
title: "Cobalt Color (#0047AB) — Hex, RGB, HSL & CSS"
description: "Cobalt color code is #0047AB — RGB(0, 71, 171), HSL(215, 100%, 34%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/0047ab
---
Color

# Cobalt

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

215°

Sat

100%

Light

34%

Shades & tints

CSS variables

CSS

```
/* Cobalt */
:root {
  --color-cobalt: #0047AB;
  --color-cobalt-rgb: 0, 71, 171;
  --color-cobalt-hsl: 215, 100%, 34%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#0047AB

#AD6500

Analogous

#009FAD

#0047AB

#0E00AD

Triadic

#0047AB

#AD0048

#48AD00

Split complementary

#0047AB

#AD0E00

#9FAD00

WCAG contrast

Aa

The quick brown fox.

8.44

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

2.49

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Endeavour

#0056A7

Smalt

#003399

Science Blue

#0066CC

International Klein Blue

#002FA7

Blue Ribbon

#0066FF

Congress Blue

#02478E

Midnight Blue

#003366

Resolution Blue

#002387

Azure Radiance

#007FFF

Tory Blue

#1450AA

Midnight

#011635

Lochmara

#007EC7

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
