#213F71

Closest named color: Twilight Blue (#0A437A). oklch(37.2% 0.093 260), rgb(33, 63, 113).

Aa

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

About this color

#213F71 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.093 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.022 away. White text reads best on it, at 10.42:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.01:1
White text10.42:1

Values

HEX#213F71
RGBrgb(33, 63, 113)
HSLhsl(218, 55%, 29%)
OKLCHoklch(37.2% 0.093 260)

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 #213F71 10.42:1 AAA Lc -98.0 Preferred for body text
Black text on #213F71 2.01:1 Fails Lc 10.0 Not readable
#213F71 text on white 10.42:1 AAA Lc 94.0 Preferred for body text
#213F71 text on black 2.01:1 Fails Lc -8.6 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #77A1E6

    oklch(70.7% 0.112 260)

  6. Step 500

    500

    #5488DF

    oklch(63.1% 0.143 260.1)

  7. Step 600

    600

    #3870CD

    oklch(55.6% 0.156 260)

  8. Step 700

    700

    #2B5DB1

    oklch(49.1% 0.144 260.2)

  9. Step 800

    800

    #244C8F

    oklch(42.5% 0.12 260.1)

  10. Step 900

    900 (this color)

    #213F71

    oklch(37.2% 0.093 260)

  11. Step 950

    950

    #152643

    oklch(27% 0.059 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#213F71 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)#2844730.018
Deuteranopia (no green cones)#1B3C700.012
Tritanopia (no blue cones)#004B520.077
Achromatopsia (no color)#4040400.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #213F71

    #213F71

    oklch(37.2% 0.093 260)

  • #553B00

    #553B00

    oklch(37.2% 0.077 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213F71

    #213F71

    oklch(37.2% 0.093 260)

  • #004760

    #004760

    oklch(37.3% 0.074 230.1)

  • #41366E

    #41366E

    oklch(37.4% 0.093 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #213F71

    #213F71

    oklch(37.2% 0.093 260)

  • #662E06

    #662E06

    oklch(37.2% 0.094 49.7)

  • #434400

    #434400

    oklch(37.3% 0.082 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213F71

    #213F71

    oklch(37.2% 0.093 260)

  • #69282B

    #69282B

    oklch(37.2% 0.093 20.1)

  • #224C18

    #224C18

    oklch(37.3% 0.094 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213F71

    #213F71

    oklch(37.2% 0.093 260)

  • #632847

    #632847

    oklch(37.1% 0.094 349.9)

  • #553B00

    #553B00

    oklch(37.2% 0.077 80.7)

  • #004D3A

    #004D3A

    oklch(37.4% 0.075 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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