#21214B

Closest named color: Oxford Blue (#1B263B). oklch(27.3% 0.076 280.1), rgb(33, 33, 75).

Aa

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

About this color

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

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

Values

HEX#21214B
RGBrgb(33, 33, 75)
HSLhsl(240, 39%, 21%)
OKLCHoklch(27.3% 0.076 280.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 #21214B 15.17:1 AAA Lc -104.7 Preferred for body text
Black text on #21214B 1.38:1 Fails Lc 0.0 Not readable
#21214B text on white 15.17:1 AAA Lc 101.9 Preferred for body text
#21214B 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B5BBFA

    oklch(81% 0.089 280)

  5. Step 400

    400

    #9095F8

    oklch(70.8% 0.143 279.9)

  6. Step 500

    500

    #7776F4

    oklch(63% 0.184 280.1)

  7. Step 600

    600

    #635BE3

    oklch(55.6% 0.2 280.3)

  8. Step 700

    700

    #524AC5

    oklch(49.1% 0.185 280)

  9. Step 800

    800

    #433E9F

    oklch(42.8% 0.152 280.1)

  10. Step 900

    900

    #38367F

    oklch(37.8% 0.12 280.2)

  11. Step 950

    950 (this color)

    #21214B

    oklch(27.3% 0.076 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#21214B 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)#0D274C0.029
Deuteranopia (no green cones)#09244A0.031
Tritanopia (no blue cones)#102A320.066
Achromatopsia (no color)#2626260.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #21214B

    #21214B

    oklch(27.3% 0.076 280.1)

  • #2E2700

    #2E2700

    oklch(27.2% 0.056 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21214B

    #21214B

    oklch(27.3% 0.076 280.1)

  • #01284A

    #01284A

    oklch(27.2% 0.076 249.9)

  • #331A42

    #331A42

    oklch(27.3% 0.076 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #21214B

    #21214B

    oklch(27.3% 0.076 280.1)

  • #392100

    #392100

    oklch(27.3% 0.059 70.2)

  • #1B2E00

    #1B2E00

    oklch(27.4% 0.074 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21214B

    #21214B

    oklch(27.3% 0.076 280.1)

  • #451705

    #451705

    oklch(27.4% 0.076 40.5)

  • #00301C

    #00301C

    oklch(27.3% 0.062 159.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21214B

    #21214B

    oklch(27.3% 0.076 280.1)

  • #45141E

    #45141E

    oklch(27.5% 0.076 11.3)

  • #2E2700

    #2E2700

    oklch(27.2% 0.056 98.9)

  • #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 #21214B, closest first.

Similar named colors

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

Use #21214B 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.