#21204E

Closest named color: Oxford Blue (#1B263B). oklch(27.3% 0.082 280.4), rgb(33, 32, 78).

Aa

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

About this color

#21204E is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.082 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.044 away. White text reads best on it, at 15.20:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.20:1

Values

HEX#21204E
RGBrgb(33, 32, 78)
HSLhsl(241, 42%, 22%)
OKLCHoklch(27.3% 0.082 280.4)

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 #21204E 15.20:1 AAA Lc -104.7 Preferred for body text
Black text on #21204E 1.38:1 Fails Lc 0.0 Not readable
#21204E text on white 15.20:1 AAA Lc 101.9 Preferred for body text
#21204E text on black 1.38: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 950.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D2D6FD

    oklch(88.5% 0.054 280.6)

  4. Step 300

    300

    #B4BAFF

    oklch(80.9% 0.098 280.1)

  5. Step 400

    400

    #9093FF

    oklch(70.8% 0.156 280.4)

  6. Step 500

    500

    #7773FD

    oklch(63.1% 0.199 280.3)

  7. Step 600

    600

    #6356EC

    oklch(55.5% 0.217 280.5)

  8. Step 700

    700

    #5345CE

    oklch(49.1% 0.202 280.5)

  9. Step 800

    800

    #433AA6

    oklch(42.7% 0.167 280.4)

  10. Step 900

    900

    #383484

    oklch(37.8% 0.13 280.4)

  11. Step 950

    950 (this color)

    #21204E

    oklch(27.3% 0.082 280.4)

Export this scale for Tailwind in the Tailwind colors tool

#21204E 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)#0627500.035
Deuteranopia (no green cones)#02244D0.037
Tritanopia (no blue cones)#0E2A330.071
Achromatopsia (no color)#2626260.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #21204E

    #21204E

    oklch(27.3% 0.082 280.4)

  • #2E2800

    #2E2800

    oklch(27.5% 0.057 100.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21204E

    #21204E

    oklch(27.3% 0.082 280.4)

  • #00284C

    #00284C

    oklch(27.4% 0.079 250.7)

  • #341945

    #341945

    oklch(27.4% 0.083 310.4)

Open the analogous palette in the generator

Split complementary

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

  • #21204E

    #21204E

    oklch(27.3% 0.082 280.4)

  • #392100

    #392100

    oklch(27.3% 0.059 70.2)

  • #1A2E00

    #1A2E00

    oklch(27.3% 0.074 130.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21204E

    #21204E

    oklch(27.3% 0.082 280.4)

  • #471501

    #471501

    oklch(27.4% 0.082 41.1)

  • #00301D

    #00301D

    oklch(27.3% 0.061 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21204E

    #21204E

    oklch(27.3% 0.082 280.4)

  • #47111E

    #47111E

    oklch(27.4% 0.082 10.1)

  • #2E2800

    #2E2800

    oklch(27.5% 0.057 100.7)

  • #002E2C

    #002E2C

    oklch(27.2% 0.047 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21204E 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.