#2B2758

Closest named color: Prussian Blue (#1D3557). oklch(30.6% 0.085 283.8), rgb(43, 39, 88).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.53:1
White text13.69:1

Values

HEX#2B2758
RGBrgb(43, 39, 88)
HSLhsl(245, 39%, 25%)
OKLCHoklch(30.6% 0.085 283.8)

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 #2B2758 13.69:1 AAA Lc -103.2 Preferred for body text
Black text on #2B2758 1.53:1 Fails Lc 0.0 Not readable
#2B2758 text on white 13.69:1 AAA Lc 100.1 Preferred for body text
#2B2758 text on black 1.53: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FE

    oklch(88.5% 0.056 284.1)

  4. Step 300

    300

    #B8B8FF

    oklch(80.8% 0.1 283.9)

  5. Step 400

    400

    #9690FF

    oklch(70.7% 0.159 284)

  6. Step 500

    500

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  7. Step 600

    600

    #6B51EF

    oklch(55.6% 0.225 283.8)

  8. Step 700

    700

    #5A40D0

    oklch(49.1% 0.209 283.8)

  9. Step 800

    800

    #4936A8

    oklch(42.7% 0.174 283.9)

  10. Step 900

    900

    #3C3185

    oklch(37.7% 0.135 283.8)

  11. Step 950

    950 (this color)

    #2B2758

    oklch(30.6% 0.085 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B2758 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)#102F5A0.039
Deuteranopia (no green cones)#0D2C570.040
Tritanopia (no blue cones)#1C323B0.074
Achromatopsia (no color)#2D2D2D0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B2758

    #2B2758

    oklch(30.6% 0.085 283.8)

  • #353000

    #353000

    oklch(30.5% 0.064 103.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B2758

    #2B2758

    oklch(30.6% 0.085 283.8)

  • #092F59

    #092F59

    oklch(30.5% 0.086 254.3)

  • #3E204D

    #3E204D

    oklch(30.6% 0.085 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B2758

    #2B2758

    oklch(30.6% 0.085 283.8)

  • #422900

    #422900

    oklch(30.5% 0.065 73.8)

  • #1C3802

    #1C3802

    oklch(30.6% 0.085 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B2758

    #2B2758

    oklch(30.6% 0.085 283.8)

  • #511D03

    #511D03

    oklch(30.6% 0.086 43.5)

  • #003926

    #003926

    oklch(30.5% 0.065 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B2758

    #2B2758

    oklch(30.6% 0.085 283.8)

  • #521822

    #521822

    oklch(30.6% 0.086 13.6)

  • #353000

    #353000

    oklch(30.5% 0.064 103.2)

  • #003737

    #003737

    oklch(30.5% 0.052 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 #2B2758, closest first.

Similar named colors

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

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