#213E99

Closest named color: Cobalt (#1E488F). oklch(40.2% 0.153 266.1), rgb(33, 62, 153).

Aa

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

About this color

#213E99 is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.153 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.032 away. White text reads best on it, at 9.48:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.153)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.21:1
White text9.48:1

Values

HEX#213E99
RGBrgb(33, 62, 153)
HSLhsl(226, 65%, 36%)
OKLCHoklch(40.2% 0.153 266.1)

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 #213E99 9.48:1 AAA Lc -95.7 Preferred for body text
Black text on #213E99 2.21:1 Fails Lc 12.6 Not readable
#213E99 text on white 9.48:1 AAA Lc 91.4 Preferred for body text
#213E99 text on black 2.21:1 Fails Lc -11.0 Not readable

Tints and shades

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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4C0FF

    oklch(81% 0.095 265.8)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #517FFF

    oklch(63.2% 0.197 266)

  7. Step 600

    600

    #305DFF

    oklch(55.6% 0.244 266.1)

  8. Step 700

    700

    #2248E4

    oklch(49.1% 0.237 266)

  9. Step 800

    800

    #1D3DB8

    oklch(42.7% 0.196 266.1)

  10. Step 900

    900 (this color)

    #213E99

    oklch(40.2% 0.153 266.1)

  11. Step 950

    950

    #102155

    oklch(27% 0.097 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#213E99 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)#004B9C0.035
Deuteranopia (no green cones)#0040970.020
Tritanopia (no blue cones)#0055650.120
Achromatopsia (no color)#4646460.153

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #213E99

    #213E99

    oklch(40.2% 0.153 266.1)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213E99

    #213E99

    oklch(40.2% 0.153 266.1)

  • #004E70

    #004E70

    oklch(40.1% 0.086 236.1)

  • #522D8F

    #522D8F

    oklch(40.1% 0.153 296.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #213E99

    #213E99

    oklch(40.2% 0.153 266.1)

  • #6F3700

    #6F3700

    oklch(40.2% 0.099 55.8)

  • #464E00

    #464E00

    oklch(40.3% 0.092 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213E99

    #213E99

    oklch(40.2% 0.153 266.1)

  • #880F15

    #880F15

    oklch(40.2% 0.153 26)

  • #005818

    #005818

    oklch(40.1% 0.122 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213E99

    #213E99

    oklch(40.2% 0.153 266.1)

  • #810F4B

    #810F4B

    oklch(40.1% 0.153 355.7)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

  • #005547

    #005547

    oklch(40.2% 0.075 176.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #213E99, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #213E99 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.