#213173

Closest named color: Marine Blue (#01386A). oklch(34.2% 0.115 269.2), rgb(33, 49, 115).

Aa

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

About this color

#213173 is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.115 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.035 away. White text reads best on it, at 11.98:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.75:1
White text11.98:1

Values

HEX#213173
RGBrgb(33, 49, 115)
HSLhsl(228, 55%, 29%)
OKLCHoklch(34.2% 0.115 269.2)

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 #213173 11.98:1 AAA Lc -100.7 Preferred for body text
Black text on #213173 1.75:1 Fails Lc 0.0 Not readable
#213173 text on white 11.98:1 AAA Lc 97.1 Preferred for body text
#213173 text on black 1.75:1 Fails Lc 0.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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFB

    oklch(93.7% 0.024 267.9)

  3. Step 200

    200

    #CCD9FA

    oklch(88.6% 0.048 268.4)

  4. Step 300

    300

    #AABFF9

    oklch(80.9% 0.086 269)

  5. Step 400

    400

    #7E9BF7

    oklch(70.7% 0.139 269.4)

  6. Step 500

    500

    #5F7FF3

    oklch(63.1% 0.177 269.2)

  7. Step 600

    600

    #4865E2

    oklch(55.6% 0.192 269.3)

  8. Step 700

    700

    #3A53C4

    oklch(49.1% 0.178 269.3)

  9. Step 800

    800

    #2F459F

    oklch(42.8% 0.148 268.9)

  10. Step 900

    900 (this color)

    #213173

    oklch(34.2% 0.115 269.2)

  11. Step 950

    950

    #18234A

    oklch(27% 0.074 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#213173 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)#003A750.031
Deuteranopia (no green cones)#0033720.026
Tritanopia (no blue cones)#00414D0.094
Achromatopsia (no color)#3737370.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #213173

    #213173

    oklch(34.2% 0.115 269.2)

  • #473600

    #473600

    oklch(34.2% 0.07 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #213173

    #213173

    oklch(34.2% 0.115 269.2)

  • #003D5C

    #003D5C

    oklch(34.3% 0.077 239.1)

  • #42266A

    #42266A

    oklch(34.2% 0.114 299.3)

Open the analogous palette in the generator

Split complementary

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

  • #213173

    #213173

    oklch(34.2% 0.115 269.2)

  • #562C00

    #562C00

    oklch(34.2% 0.081 59.2)

  • #343E00

    #343E00

    oklch(34.2% 0.081 119.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #213173

    #213173

    oklch(34.2% 0.115 269.2)

  • #671610

    #671610

    oklch(34.1% 0.115 28.9)

  • #00451A

    #00451A

    oklch(34.1% 0.095 149.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #213173

    #213173

    oklch(34.2% 0.115 269.2)

  • #641537

    #641537

    oklch(34.3% 0.115 359.3)

  • #473600

    #473600

    oklch(34.2% 0.07 89.1)

  • #004339

    #004339

    oklch(34.3% 0.063 178.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #213173 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.