#213F95

Closest named color: Cobalt (#1E488F). oklch(40% 0.146 265.5), rgb(33, 63, 149).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.146)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.20:1
White text9.50:1

Values

HEX#213F95
RGBrgb(33, 63, 149)
HSLhsl(224, 64%, 36%)
OKLCHoklch(40% 0.146 265.5)

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 #213F95 9.50:1 AAA Lc -95.8 Preferred for body text
Black text on #213F95 2.20:1 Fails Lc 12.5 Not readable
#213F95 text on white 9.50:1 AAA Lc 91.5 Preferred for body text
#213F95 text on black 2.20:1 Fails Lc -10.9 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  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

    #A3C0FF

    oklch(80.9% 0.095 265.2)

  5. Step 400

    400

    #739CFF

    oklch(70.7% 0.152 265.7)

  6. Step 500

    500

    #4F7FFF

    oklch(63.1% 0.197 265.6)

  7. Step 600

    600

    #2D5EFE

    oklch(55.6% 0.243 265.5)

  8. Step 700

    700

    #224CDE

    oklch(49.2% 0.226 265.5)

  9. Step 800

    800

    #1D3FB3

    oklch(42.6% 0.188 265.7)

  10. Step 900

    900 (this color)

    #213F95

    oklch(40% 0.146 265.5)

  11. Step 950

    950

    #102253

    oklch(27% 0.093 265.4)

Export this scale for Tailwind in the Tailwind colors tool

#213F95 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)#004B980.033
Deuteranopia (no green cones)#0040930.020
Tritanopia (no blue cones)#0054630.115
Achromatopsia (no color)#4646460.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #213F95

    #213F95

    oklch(40% 0.146 265.5)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213F95

    #213F95

    oklch(40% 0.146 265.5)

  • #004E6F

    #004E6F

    oklch(40% 0.085 235.3)

  • #512F8C

    #512F8C

    oklch(40% 0.147 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #213F95

    #213F95

    oklch(40% 0.146 265.5)

  • #6F3700

    #6F3700

    oklch(40.2% 0.099 55.8)

  • #464D00

    #464D00

    oklch(40% 0.091 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213F95

    #213F95

    oklch(40% 0.146 265.5)

  • #851519

    #851519

    oklch(40% 0.146 25.5)

  • #005816

    #005816

    oklch(40% 0.124 145.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213F95

    #213F95

    oklch(40% 0.146 265.5)

  • #7F154B

    #7F154B

    oklch(40.1% 0.147 355.6)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

  • #005546

    #005546

    oklch(40.1% 0.075 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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