#2D2B54

Closest named color: Prussian Blue (#1D3557). oklch(31.3% 0.072 283.6), rgb(45, 43, 84).

Aa

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

About this color

#2D2B54 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.072 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.035 away. White text reads best on it, at 13.24:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.58:1
White text13.24:1

Values

HEX#2D2B54
RGBrgb(45, 43, 84)
HSLhsl(243, 32%, 25%)
OKLCHoklch(31.3% 0.072 283.6)

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 #2D2B54 13.24:1 AAA Lc -102.7 Preferred for body text
Black text on #2D2B54 1.58:1 Fails Lc 0.0 Not readable
#2D2B54 text on white 13.24:1 AAA Lc 99.5 Preferred for body text
#2D2B54 text on black 1.58: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

    #E7E8FA

    oklch(93.6% 0.024 283.4)

  3. Step 200

    200

    #D4D6F8

    oklch(88.5% 0.047 282.7)

  4. Step 300

    300

    #B9BAF6

    oklch(80.9% 0.084 283.6)

  5. Step 400

    400

    #9694F2

    oklch(70.7% 0.136 283.3)

  6. Step 500

    500

    #7F76ED

    oklch(63.1% 0.173 283.7)

  7. Step 600

    600

    #6A5BDC

    oklch(55.6% 0.19 283.6)

  8. Step 700

    700

    #594ABF

    oklch(49.2% 0.176 283.7)

  9. Step 800

    800

    #483D9A

    oklch(42.6% 0.146 283.7)

  10. Step 900

    900

    #3C367B

    oklch(37.8% 0.113 283.5)

  11. Step 950

    950 (this color)

    #2D2B54

    oklch(31.3% 0.072 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#2D2B54 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)#1B31560.029
Deuteranopia (no green cones)#1A2E530.029
Tritanopia (no blue cones)#21333B0.061
Achromatopsia (no color)#3030300.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2B54

    #2D2B54

    oklch(31.3% 0.072 283.6)

  • #373200

    #373200

    oklch(31.3% 0.066 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2B54

    #2D2B54

    oklch(31.3% 0.072 283.6)

  • #143254

    #143254

    oklch(31.3% 0.071 253.4)

  • #3E254B

    #3E254B

    oklch(31.4% 0.072 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #2D2B54

    #2D2B54

    oklch(31.3% 0.072 283.6)

  • #452B00

    #452B00

    oklch(31.3% 0.067 73.7)

  • #21390F

    #21390F

    oklch(31.4% 0.073 134.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2B54

    #2D2B54

    oklch(31.3% 0.072 283.6)

  • #4E230F

    #4E230F

    oklch(31.3% 0.072 43.9)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2B54

    #2D2B54

    oklch(31.3% 0.072 283.6)

  • #4F1F26

    #4F1F26

    oklch(31.2% 0.072 13.3)

  • #373200

    #373200

    oklch(31.3% 0.066 103.4)

  • #003939

    #003939

    oklch(31.2% 0.053 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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