colorcodekit

Complementary color of Cobalt Blue

The complement of Cobalt Blue (#0047AB) is #AB5A00 on the artist wheel and #AB6400 on the digital RGB wheel. See contrast, color-blind checks and CSS.

Base#0047AB
SchemeComplementary
WheelsArtist, digital, OKLCH

The colors (click to copy)

The complement of Cobalt Blue on three wheels

A complementary color sits 180° across the wheel. Cobalt Blue is a cool, mid-tone color: its lightness is 43% in OKLCH, its chroma is 0.172 and its hue sits at 260°, in the azure family. The nearest CSS name is darkslateblue (#483D8B), a distance of ΔE 10.2.

WheelComplementNearest CSS namevs Cobalt Blue
Artist wheel (RYB)#AB5A00sienna1.68:1
Digital wheel (RGB)#AB6400chocolate1.83:1
Perceptual wheel (OKLCH)#694900saddlebrown1.03:1

For Cobalt Blue the artist and digital wheels agree closely (ΔE 4.3), so either answer works whichever medium you design for.

The perceptual wheel keeps lightness steady and turns only the hue. A vivid orange at this lightness does not fit inside a screen's colors, so its chroma drops from 0.172 to 0.089, and the OKLCH complement comes out softer than Cobalt Blue itself.

On the artist wheel the opposite of the azure family is orange, and the result is warm. The partner is mid-tone (lightness 55%), so the pair differs by 12% in lightness.

Does Cobalt Blue contrast with its complement?

WheelRatioWCAG 2.2Lightness gapText on the partner
Artist wheel (RYB)1.68:1fails12%White 5.0:1
Digital wheel (RGB)1.83:1fails14%White 4.6:1
Perceptual wheel (OKLCH)1.03:1fails0%White 8.2:1

At 1.68:1 the artist complement is too weak for text on Cobalt Blue. Keep the pair for large shapes, and put text in black or white on top of each.

The nearest text-safe version of the complement is #FEAD6F, which reaches 4.59:1 on Cobalt Blue. It keeps the hue and chroma and shifts only the lightness (ΔE 26.2 from the original).

Is the complement of Cobalt Blue safe for color-blind viewers?

TypeAs seenClosest pairΔE2000Result
Protanopia (no red cones) Cobalt Blue and its complement55.0clearly different
Deuteranopia (no green cones) Cobalt Blue and its complement61.7clearly different
Tritanopia (no blue cones) Cobalt Blue and its complement53.0clearly different

Even the weakest case, tritanopia, keeps the closest pair at ΔE 53.0. That is a clear difference, so this pairing holds up for most color-vision types.

Using Cobalt Blue and its complement in a layout

Cobalt Blue is a mid-tone. Put it in the 30% band for panels and sections, with a neutral background around it and the complement (#AB5A00) as the 10% accent.

background #111412, main #0047AB, accent #AB5A00

:root {
  --background: #111412;
  --main: #0047ab;
  --accent: #ab5a00;
}

Tailwind-style scale for the complement

Here is the artist complement built into a 50 to 950 scale, with the best text color on every step. Make your own from any hex with the Tailwind color generator.

#AB5A00 (sienna)

50100200300400500600700800900950
#FFF5ED#FFE8D8#FFD1B1#FAB481#E29152#C8742C#AB5A00#894700#6C3700#542900#301C0D

A softer option: split-complementary

If the straight complement feels harsh, use the two colors beside it instead. For Cobalt Blue on the artist wheel those are #AB2F00 (1.26:1) and #AB8500 (2.45:1). Together they keep the contrast but add variety.

CSS to copy

:root {
  --cobalt-blue: #0047ab;
  --cobalt-blue-complement: #ab5a00;
  --cobalt-blue-complement-rgb: #ab6400;
  --cobalt-blue-complement-oklch: #694900;
}

The story of Cobalt Blue

Cobalt blue is a pigment made by sintering cobalt oxide with alumina at high temperature to form cobalt aluminate. Cobalt ores had colored glass and porcelain since antiquity, and cobalt blue first appears as an English color name in 1777. Source: Wikipedia.

The name cobalt comes from the German word Kobold, a mischievous house spirit; medieval miners used it because cobalt ores made silver hard to extract. Source: ColourLex.

Georg Brandt showed in 1742 that the blue came from a previously unidentified metal, cobalt, a discovery that preceded the artificial pigment. Source: Wikipedia.

Cobalt Blue paired with its opposite in practice

Pigment analysis of Van Gogh's The Starry Night (1889) found cobalt blue and ultramarine in the sky, set against the yellow of the stars and moon from Indian yellow and zinc yellow. Source: Wikipedia.

Frequently asked questions

What is the complementary color of Cobalt Blue?

On the artist wheel it is #AB5A00 (sienna). On the digital RGB wheel it is #AB6400 (chocolate), and in OKLCH it is #694900 (saddlebrown). The first is the traditional answer, and the second is what you get by rotating the hue in HSL.

Can I use Cobalt Blue and its complement for text?

The artist pair reaches 1.68:1, so not directly. A text-safe partner is #FEAD6F at 4.59:1.

Should I use the artist or digital complement of Cobalt Blue?

For Cobalt Blue the artist and digital wheels agree closely (ΔE 4.3), so either answer works whichever medium you design for.

What is a softer alternative to the complement of Cobalt Blue?

Try the split-complementary pair #AB2F00 and #AB8500, which sit 30° either side of the complement on the artist wheel.

Is the complement of Cobalt Blue safe for color blindness?

Even the weakest case, tritanopia, keeps the closest pair at ΔE 53.0. That is a clear difference, so this pairing holds up for most color-vision types.

Content updated