#38345D

Closest named color: Prussian Blue (#1D3557). oklch(35% 0.07 286.6), rgb(56, 52, 93).

Aa

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

About this color

#38345D is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.070 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.041 away. White text reads best on it, at 11.55:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.81:1
White text11.55:1

Values

HEX#38345D
RGBrgb(56, 52, 93)
HSLhsl(246, 28%, 28%)
OKLCHoklch(35% 0.07 286.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 #38345D 11.55:1 AAA Lc -100.2 Preferred for body text
Black text on #38345D 1.81:1 Fails Lc 7.4 Not readable
#38345D text on white 11.55:1 AAA Lc 96.5 Preferred for body text
#38345D text on black 1.81: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

    #D7D7EC

    oklch(88.6% 0.029 285.8)

  4. Step 300

    300

    #BDBCE2

    oklch(80.9% 0.053 286.3)

  5. Step 400

    400

    #9C99D3

    oklch(70.7% 0.084 286.4)

  6. Step 500

    500

    #857FC7

    oklch(63.1% 0.107 286.7)

  7. Step 600

    600

    #6F67B4

    oklch(55.6% 0.117 286.7)

  8. Step 700

    700

    #5D559B

    oklch(49% 0.11 286.9)

  9. Step 800

    800

    #4C467E

    oklch(42.7% 0.091 286.8)

  10. Step 900

    900 (this color)

    #38345D

    oklch(35% 0.07 286.6)

  11. Step 950

    950

    #25233B

    oklch(27% 0.044 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#38345D 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)#263A5F0.030
Deuteranopia (no green cones)#26385C0.029
Tritanopia (no blue cones)#2E3C440.059
Achromatopsia (no color)#3939390.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #38345D

    #38345D

    oklch(35% 0.07 286.6)

  • #3F3C06

    #3F3C06

    oklch(34.8% 0.07 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38345D

    #38345D

    oklch(35% 0.07 286.6)

  • #213B5E

    #213B5E

    oklch(35% 0.069 256.3)

  • #492E53

    #492E53

    oklch(35% 0.071 316.5)

Open the analogous palette in the generator

Split complementary

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

  • #38345D

    #38345D

    oklch(35% 0.07 286.6)

  • #4F3504

    #4F3504

    oklch(35.1% 0.07 77)

  • #28431C

    #28431C

    oklch(35.1% 0.071 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38345D

    #38345D

    oklch(35% 0.07 286.6)

  • #582E18

    #582E18

    oklch(35.1% 0.07 47)

  • #034632

    #034632

    oklch(35% 0.071 166.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38345D

    #38345D

    oklch(35% 0.07 286.6)

  • #592A2D

    #592A2D

    oklch(35% 0.069 17.3)

  • #3F3C06

    #3F3C06

    oklch(34.8% 0.07 106.1)

  • #004445

    #004445

    oklch(35.1% 0.06 196.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38345D 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.