#2F2F54

Closest named color: Prussian Blue (#1D3557). oklch(32.4% 0.065 282.2), rgb(47, 47, 84).

Aa

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

About this color

#2F2F54 is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.065 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.029 away. White text reads best on it, at 12.68:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.065)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#2F2F54
RGBrgb(47, 47, 84)
HSLhsl(240, 28%, 26%)
OKLCHoklch(32.4% 0.065 282.2)

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 #2F2F54 12.68:1 AAA Lc -102.0 Preferred for body text
Black text on #2F2F54 1.65:1 Fails Lc 0.0 Not readable
#2F2F54 text on white 12.68:1 AAA Lc 98.7 Preferred for body text
#2F2F54 text on black 1.65: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 900.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BBBDE0

    oklch(80.8% 0.049 282.7)

  5. Step 400

    400

    #999BD0

    oklch(70.7% 0.077 282.6)

  6. Step 500

    500

    #8082C4

    oklch(63.2% 0.099 281.9)

  7. Step 600

    600

    #6A6AB1

    oklch(55.6% 0.109 282.3)

  8. Step 700

    700

    #585898

    oklch(49% 0.101 282)

  9. Step 800

    800

    #48487B

    oklch(42.6% 0.084 282.3)

  10. Step 900

    900 (this color)

    #2F2F54

    oklch(32.4% 0.065 282.2)

  11. Step 950

    950

    #23243A

    oklch(27% 0.041 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F2F54 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)#2234550.023
Deuteranopia (no green cones)#2031530.023
Tritanopia (no blue cones)#24363D0.056
Achromatopsia (no color)#3333330.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2F54

    #2F2F54

    oklch(32.4% 0.065 282.2)

  • #3B3504

    #3B3504

    oklch(32.5% 0.065 102)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2F54

    #2F2F54

    oklch(32.4% 0.065 282.2)

  • #193554

    #193554

    oklch(32.4% 0.065 252.5)

  • #3F294C

    #3F294C

    oklch(32.4% 0.066 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F2F54

    #2F2F54

    oklch(32.4% 0.065 282.2)

  • #482E05

    #482E05

    oklch(32.5% 0.065 72.9)

  • #273B15

    #273B15

    oklch(32.5% 0.066 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2F54

    #2F2F54

    oklch(32.4% 0.065 282.2)

  • #4F2717

    #4F2717

    oklch(32.3% 0.065 42)

  • #093E2A

    #093E2A

    oklch(32.4% 0.065 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2F54

    #2F2F54

    oklch(32.4% 0.065 282.2)

  • #50252B

    #50252B

    oklch(32.6% 0.065 12.5)

  • #3B3504

    #3B3504

    oklch(32.5% 0.065 102)

  • #003D3B

    #003D3B

    oklch(32.5% 0.056 191.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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