#212049

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.074 281.3), rgb(33, 32, 73).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.35:1

Values

HEX#212049
RGBrgb(33, 32, 73)
HSLhsl(241, 39%, 21%)
OKLCHoklch(26.9% 0.074 281.3)

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 #212049 15.35:1 AAA Lc -104.9 Preferred for body text
Black text on #212049 1.36:1 Fails Lc 0.0 Not readable
#212049 text on white 15.35:1 AAA Lc 102.1 Preferred for body text
#212049 text on black 1.36: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300

    #B6BAF9

    oklch(80.8% 0.089 281.4)

  5. Step 400

    400

    #9294F5

    oklch(70.6% 0.14 281.3)

  6. Step 500

    500

    #7A76F2

    oklch(63.1% 0.181 281.3)

  7. Step 600

    600

    #655BE0

    oklch(55.5% 0.195 281.3)

  8. Step 700

    700

    #544AC3

    oklch(49.1% 0.182 281.1)

  9. Step 800

    800

    #453E9D

    oklch(42.8% 0.149 281.3)

  10. Step 900

    900

    #39367D

    oklch(37.7% 0.117 281.1)

  11. Step 950

    950 (this color)

    #212049

    oklch(26.9% 0.074 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#212049 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)#0D264A0.030
Deuteranopia (no green cones)#0923480.032
Tritanopia (no blue cones)#1229310.064
Achromatopsia (no color)#2525250.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #212049

    #212049

    oklch(26.9% 0.074 281.3)

  • #2C2700

    #2C2700

    oklch(27% 0.057 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #212049

    #212049

    oklch(26.9% 0.074 281.3)

  • #032749

    #032749

    oklch(27% 0.074 251.3)

  • #321A40

    #321A40

    oklch(27% 0.073 311.6)

Open the analogous palette in the generator

Split complementary

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

  • #212049

    #212049

    oklch(26.9% 0.074 281.3)

  • #382100

    #382100

    oklch(27.1% 0.058 71.5)

  • #182D00

    #182D00

    oklch(26.9% 0.074 131.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #212049

    #212049

    oklch(26.9% 0.074 281.3)

  • #431705

    #431705

    oklch(27% 0.074 41.3)

  • #002F1D

    #002F1D

    oklch(27% 0.059 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #212049

    #212049

    oklch(26.9% 0.074 281.3)

  • #43131D

    #43131D

    oklch(26.9% 0.074 11)

  • #2C2700

    #2C2700

    oklch(27% 0.057 102.1)

  • #002D2C

    #002D2C

    oklch(26.9% 0.046 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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