Huebook

Cobalt

Cobalt is a very dark, saturated blue color with the hex code #030AA7 (hue 237°, saturation 96%, lightness 33%).

#030AA7
NameHEXRGBHSLCMYKOKLCH
Cobalt#030AA73, 10, 167237°, 96%, 33%98, 94, 0, 3533.6% 0.223 265

Contrast with white text 13.08:1, with black text 1.61:1 — use white text on Cobalt.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Cobalt

Move the sliders to make Cobalt lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Cobalt
  • HEX#030AA7
  • RGBrgb(3 10 167)
  • HSLhsl(237 96% 33%)

Variations of Cobalt

Text on Cobalt

White textThe quick brown fox13.08:1 · AA pass · AAA pass
Black textThe quick brown fox1.61:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Cobalt with color blindness

Normal #030AA7
Protanopia #0039AB
Deuteranopia #0027A5
Tritanopia #004561

How Cobalt appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#CDCFFE
#8287FD
#373FFB
#040DE1
#030996
#01044B

Colors that go with Cobalt

Six color schemes built on Cobalt with classic harmony rules. The complementary scheme pairs it with Countryside (#A4A404), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark blue colors

Questions

What is the hex code for Cobalt?

#030AA7 — RGB 3, 10, 167, HSL 237°, 96%, 33%.

Is Cobalt a warm or cool color?

Cool — its hue sits at 237° on the color wheel.