#34305A

Closest named color: Prussian Blue (#1D3557). oklch(33.5% 0.073 286.1), rgb(52, 48, 90).

Aa

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

About this color

#34305A is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.073 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.036 away. White text reads best on it, at 12.23:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.71:1
White text12.23:1

Values

HEX#34305A
RGBrgb(52, 48, 90)
HSLhsl(246, 30%, 27%)
OKLCHoklch(33.5% 0.073 286.1)

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 #34305A 12.23:1 AAA Lc -101.3 Preferred for body text
Black text on #34305A 1.71:1 Fails Lc 0.0 Not readable
#34305A text on white 12.23:1 AAA Lc 97.8 Preferred for body text
#34305A text on black 1.71: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F4

    oklch(93.7% 0.015 286.1)

  3. Step 200

    200

    #D7D7ED

    oklch(88.6% 0.03 285.8)

  4. Step 300

    300

    #BDBCE3

    oklch(80.9% 0.055 286.3)

  5. Step 400

    400

    #9C99D5

    oklch(70.8% 0.087 286.2)

  6. Step 500

    500

    #847FC9

    oklch(63.1% 0.11 285.9)

  7. Step 600

    600

    #6E67B6

    oklch(55.6% 0.12 285.8)

  8. Step 700

    700

    #5C559D

    oklch(49.1% 0.113 285.9)

  9. Step 800

    800

    #4B467F

    oklch(42.7% 0.093 285.8)

  10. Step 900

    900 (this color)

    #34305A

    oklch(33.5% 0.073 286.1)

  11. Step 950

    950

    #25233C

    oklch(27.1% 0.046 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#34305A 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)#21365C0.031
Deuteranopia (no green cones)#2034590.031
Tritanopia (no blue cones)#2938400.062
Achromatopsia (no color)#3535350.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #34305A

    #34305A

    oklch(33.5% 0.073 286.1)

  • #3C3800

    #3C3800

    oklch(33.4% 0.071 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34305A

    #34305A

    oklch(33.5% 0.073 286.1)

  • #1C375B

    #1C375B

    oklch(33.5% 0.072 256.2)

  • #452A50

    #452A50

    oklch(33.5% 0.073 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #34305A

    #34305A

    oklch(33.5% 0.073 286.1)

  • #4B3100

    #4B3100

    oklch(33.6% 0.07 76.6)

  • #243F16

    #243F16

    oklch(33.5% 0.074 136.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34305A

    #34305A

    oklch(33.5% 0.073 286.1)

  • #542913

    #542913

    oklch(33.4% 0.072 46.1)

  • #00422E

    #00422E

    oklch(33.6% 0.07 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34305A

    #34305A

    oklch(33.5% 0.073 286.1)

  • #56252A

    #56252A

    oklch(33.5% 0.073 15.5)

  • #3C3800

    #3C3800

    oklch(33.4% 0.071 105.2)

  • #004040

    #004040

    oklch(33.6% 0.057 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 #34305A, closest first.

Similar named colors

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

Use #34305A 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.