#2D223B

Closest named color: Oxford Blue (#1B263B). oklch(27.7% 0.047 303.7), rgb(45, 34, 59).

Aa

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

About this color

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

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

Values

HEX#2D223B
RGBrgb(45, 34, 59)
HSLhsl(266, 27%, 18%)
OKLCHoklch(27.7% 0.047 303.7)

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 #2D223B 14.96:1 AAA Lc -104.6 Preferred for body text
Black text on #2D223B 1.40:1 Fails Lc 0.0 Not readable
#2D223B text on white 14.96:1 AAA Lc 101.8 Preferred for body text
#2D223B 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B8DF

    oklch(80.9% 0.057 303.8)

  5. Step 400

    400

    #AC93CE

    oklch(70.7% 0.089 303.6)

  6. Step 500

    500

    #9877C2

    oklch(63.1% 0.115 303.5)

  7. Step 600

    600

    #835FAE

    oklch(55.6% 0.124 303.7)

  8. Step 700

    700

    #6F4E96

    oklch(49.2% 0.116 303.6)

  9. Step 800

    800

    #5A4079

    oklch(42.6% 0.096 303.7)

  10. Step 900

    900

    #4A3762

    oklch(37.7% 0.075 303.4)

  11. Step 950

    950 (this color)

    #2D223B

    oklch(27.7% 0.047 303.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D223B 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)#1C273C0.032
Deuteranopia (no green cones)#1F273A0.029
Tritanopia (no blue cones)#2B262B0.037
Achromatopsia (no color)#2727270.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D223B

    #2D223B

    oklch(27.7% 0.047 303.7)

  • #232C10

    #232C10

    oklch(27.7% 0.048 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D223B

    #2D223B

    oklch(27.7% 0.047 303.7)

  • #21263F

    #21263F

    oklch(27.7% 0.047 274.3)

  • #361F32

    #361F32

    oklch(27.7% 0.047 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D223B

    #2D223B

    oklch(27.7% 0.047 303.7)

  • #302709

    #302709

    oklch(27.6% 0.047 92.2)

  • #132F1D

    #132F1D

    oklch(27.7% 0.048 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D223B

    #2D223B

    oklch(27.7% 0.047 303.7)

  • #38230D

    #38230D

    oklch(27.7% 0.047 64.9)

  • #032F2B

    #032F2B

    oklch(27.6% 0.046 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D223B

    #2D223B

    oklch(27.7% 0.047 303.7)

  • #3C1F18

    #3C1F18

    oklch(27.7% 0.047 34.5)

  • #232C10

    #232C10

    oklch(27.7% 0.048 124.2)

  • #022E36

    #022E36

    oklch(27.7% 0.047 213.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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