#2D213F

Closest named color: Oxford Blue (#1B263B). oklch(27.7% 0.056 301.3), rgb(45, 33, 63).

Aa

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

About this color

#2D213F is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.056 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.036 away. White text reads best on it, at 14.99:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.056)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.40:1
White text14.99:1

Values

HEX#2D213F
RGBrgb(45, 33, 63)
HSLhsl(264, 31%, 19%)
OKLCHoklch(27.7% 0.056 301.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 #2D213F 14.99:1 AAA Lc -104.6 Preferred for body text
Black text on #2D213F 1.40:1 Fails Lc 0.0 Not readable
#2D213F text on white 14.99:1 AAA Lc 101.8 Preferred for body text
#2D213F text on black 1.40: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EE

    oklch(88.5% 0.037 301.4)

  4. Step 300

    300

    #C8B7E5

    oklch(80.9% 0.066 301.8)

  5. Step 400

    400

    #AC91D8

    oklch(70.7% 0.105 301.2)

  6. Step 500

    500

    #9874CD

    oklch(63.1% 0.134 301.3)

  7. Step 600

    600

    #835BBA

    oklch(55.6% 0.146 301.2)

  8. Step 700

    700

    #6F4AA1

    oklch(49.1% 0.137 301.1)

  9. Step 800

    800

    #5A3D82

    oklch(42.6% 0.113 301.1)

  10. Step 900

    900

    #4A3568

    oklch(37.7% 0.087 301.3)

  11. Step 950

    950 (this color)

    #2D213F

    oklch(27.7% 0.056 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D213F 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)#1927400.037
Deuteranopia (no green cones)#1C273E0.034
Tritanopia (no blue cones)#2A262D0.042
Achromatopsia (no color)#2727270.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D213F

    #2D213F

    oklch(27.7% 0.056 301.3)

  • #242C09

    #242C09

    oklch(27.7% 0.055 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D213F

    #2D213F

    oklch(27.7% 0.056 301.3)

  • #1E2643

    #1E2643

    oklch(27.7% 0.055 270.8)

  • #381D35

    #381D35

    oklch(27.7% 0.057 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D213F

    #2D213F

    oklch(27.7% 0.056 301.3)

  • #322701

    #322701

    oklch(27.7% 0.056 92.2)

  • #10301A

    #10301A

    oklch(27.8% 0.055 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D213F

    #2D213F

    oklch(27.7% 0.056 301.3)

  • #3B2107

    #3B2107

    oklch(27.7% 0.055 61.8)

  • #00302A

    #00302A

    oklch(27.7% 0.05 181.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D213F

    #2D213F

    oklch(27.7% 0.056 301.3)

  • #3F1D16

    #3F1D16

    oklch(27.7% 0.055 32.8)

  • #242C09

    #242C09

    oklch(27.7% 0.055 121.1)

  • #002E36

    #002E36

    oklch(27.7% 0.048 212.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D213F 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.