Cobalt #1E488F

Cobalt is a dark, moderately saturated blue with hex code #1E488F and RGB rgb(30, 72, 143).

Aa

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

About this color

#1E488F is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.127 and its hue 260°. Its hue sits on the cool side of the wheel. It is the named color Cobalt. White text reads best on it, at 8.82:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameCobalt
Black text2.37:1
White text8.82:1

Colors that go with Cobalt

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

Complementary

The opposite hue (180°).

Open the complementary palette in the generator

Color palettes with Cobalt

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

Similar named colors

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

More about Cobalt

How to make Cobalt

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.

  • 4 parts blue
  • 1 part red

Recipe result: #2A4B8D, a difference of ΔE 0.016 from Cobalt. That is very close: most people will not see the difference.

What colors make blue? | Color mixing chart

Codes for Cobalt in every format

HEX#1E488F
RGBrgb(30, 72, 143)
HSLhsl(218, 65%, 34%)
OKLCHoklch(41.4% 0.127 260.3)

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 #1E488F 8.82:1 AAA Lc -94.3 Preferred for body text
Black text on #1E488F 2.37:1 Fails Lc 14.2 Not readable
#1E488F text on white 8.82:1 AAA Lc 89.8 Fine for body text
#1E488F text on black 2.37:1 Fails Lc -12.5 Not readable

Shades and tints of Cobalt

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 800.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF5

    oklch(88.5% 0.041 260.9)

  4. Step 300

    300

    #A5C2F1

    oklch(80.9% 0.074 260)

  5. Step 400

    400

    #75A1EA

    oklch(70.7% 0.118 260.2)

  6. Step 500

    500

    #5187E4

    oklch(63.1% 0.152 260.6)

  7. Step 600

    600

    #346FD2

    oklch(55.6% 0.165 260.1)

  8. Step 700

    700

    #275CB6

    oklch(49.1% 0.154 260.3)

  9. Step 800

    800 (this color)

    #1E488F

    oklch(41.4% 0.127 260.3)

  10. Step 900

    900

    #204075

    oklch(37.7% 0.098 259.9)

  11. Step 950

    950

    #132645

    oklch(27.1% 0.063 259.7)

Export this scale for Tailwind in the Tailwind colors tool

Cobalt 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)#1F50920.023
Deuteranopia (no green cones)#00458E0.020
Tritanopia (no blue cones)#0059640.099
Achromatopsia (no color)#4A4A4A0.127

Use Cobalt 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.