Cobalt Blue #030AA7

Cobalt Blue is a dark, vivid blue with hex code #030AA7 and RGB rgb(3, 10, 167).

Aa

White text reads best on this color (13.08:1).

About this color

#030AA7 is a dark, vivid blue. In OKLCH its lightness is 34%, its chroma 0.223 and its hue 265°. Its hue sits on the cool side of the wheel. It is the named color Cobalt Blue. White text reads best on it, at 13.08:1.

Hue familyBlues
Lightnessdark (34%)
Chromavivid (0.223)
Temperaturecool
Nearest nameCobalt Blue
Black text1.60:1
White text13.08:1

Colors that go with Cobalt Blue

Matches found by rotating Cobalt Blue around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Cobalt Blue

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Cobalt Blue, closest first.

No curated palette has a color within ΔE 0.06 of Cobalt Blue yet.

Similar named colors

The eight named colors closest to Cobalt Blue, with their ΔE distance.

More about Cobalt Blue

How to make Cobalt Blue

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 1 part blue
  • 1 part purple

Recipe result: #3B3A9F, a difference of ΔE 0.110 from Cobalt Blue. Cobalt Blue is more vivid than these paints can mix, so start from a ready-made blue paint and adjust it.

What colors make blue? | Color mixing chart

Codes for Cobalt Blue in every format

HEX#030AA7
RGBrgb(3, 10, 167)
HSLhsl(237, 96%, 33%)
OKLCHoklch(33.6% 0.223 264.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #030AA7 13.08:1 AAA Lc -100.6 Preferred for body text
Black text on #030AA7 1.60:1 Fails Lc 0.0 Not readable
#030AA7 text on white 13.08:1 AAA Lc 96.9 Preferred for body text
#030AA7 text on black 1.60:1 Fails Lc 0.0 Not readable

Shades and tints of Cobalt Blue

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7D9FF

    oklch(88.4% 0.056 265.2)

  4. Step 300

    300

    #A2C0FF

    oklch(80.9% 0.096 264.7)

  5. Step 400

    400

    #719DFF

    oklch(70.8% 0.152 264.6)

  6. Step 500

    500

    #4C80FF

    oklch(63.2% 0.197 264.6)

  7. Step 600

    600

    #275FFF

    oklch(55.7% 0.244 264.5)

  8. Step 700

    700

    #0B37FF

    oklch(49.1% 0.287 264.7)

  9. Step 800

    800

    #060EE8

    oklch(42.7% 0.287 264.6)

  10. Step 900

    900 (this color)

    #030AA7

    oklch(33.6% 0.223 264.6)

  11. Step 950

    950

    #03196A

    oklch(27.1% 0.141 264.4)

Export this scale for Tailwind in the Tailwind colors tool

Cobalt Blue with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0039AB0.074
Deuteranopia (no green cones)#0027A50.035
Tritanopia (no blue cones)#0045610.166
Achromatopsia (no color)#3131310.225

Use Cobalt Blue in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.