#34275B

Closest named color: Prussian Blue (#1D3557). oklch(31.7% 0.09 292), rgb(52, 39, 91).

Aa

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

About this color

#34275B is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.090 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.053 away. White text reads best on it, at 13.23:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePrussian Blue (#1D3557)
Black text1.58:1
White text13.23:1

Values

HEX#34275B
RGBrgb(52, 39, 91)
HSLhsl(255, 40%, 25%)
OKLCHoklch(31.7% 0.09 292)

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 #34275B 13.23:1 AAA Lc -102.6 Preferred for body text
Black text on #34275B 1.58:1 Fails Lc 0.0 Not readable
#34275B text on white 13.23:1 AAA Lc 99.4 Preferred for body text
#34275B 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #D9D3FE

    oklch(88.5% 0.059 291.5)

  4. Step 300

    300

    #C2B4FF

    oklch(80.9% 0.105 292.4)

  5. Step 400

    400

    #A48AFF

    oklch(70.7% 0.167 291.8)

  6. Step 500

    500

    #9166FF

    oklch(63.2% 0.217 292)

  7. Step 600

    600

    #7D46EE

    oklch(55.7% 0.235 291.9)

  8. Step 700

    700

    #6A35CF

    oklch(49.1% 0.219 292)

  9. Step 800

    800

    #562EA7

    oklch(42.7% 0.181 292)

  10. Step 900

    900

    #462B84

    oklch(37.6% 0.141 292.2)

  11. Step 950

    950 (this color)

    #34275B

    oklch(31.7% 0.09 292)

Export this scale for Tailwind in the Tailwind colors tool

#34275B 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)#10315D0.054
Deuteranopia (no green cones)#122F5A0.051
Tritanopia (no blue cones)#2A323D0.072
Achromatopsia (no color)#3030300.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #34275B

    #34275B

    oklch(31.7% 0.09 292)

  • #333500

    #333500

    oklch(31.6% 0.07 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34275B

    #34275B

    oklch(31.7% 0.09 292)

  • #17305F

    #17305F

    oklch(31.8% 0.089 261.7)

  • #46204D

    #46204D

    oklch(31.7% 0.089 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #34275B

    #34275B

    oklch(31.7% 0.09 292)

  • #422E00

    #422E00

    oklch(31.6% 0.065 82.4)

  • #113D0D

    #113D0D

    oklch(31.8% 0.09 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34275B

    #34275B

    oklch(31.7% 0.09 292)

  • #512300

    #512300

    oklch(31.6% 0.082 51.7)

  • #003C2E

    #003C2E

    oklch(31.7% 0.062 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34275B

    #34275B

    oklch(31.7% 0.09 292)

  • #571A1C

    #571A1C

    oklch(31.6% 0.09 22)

  • #333500

    #333500

    oklch(31.6% 0.07 112.1)

  • #003A3E

    #003A3E

    oklch(31.7% 0.054 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34275B 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.