#38407C

Closest named color: Dark Slate Blue (#483D8B). oklch(39.6% 0.101 275.1), rgb(56, 64, 124).

Aa

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

About this color

#38407C is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.101 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.037 away. White text reads best on it, at 9.57:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.19:1
White text9.57:1

Values

HEX#38407C
RGBrgb(56, 64, 124)
HSLhsl(233, 38%, 35%)
OKLCHoklch(39.6% 0.101 275.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 #38407C 9.57:1 AAA Lc -96.3 Preferred for body text
Black text on #38407C 2.19:1 Fails Lc 11.9 Not readable
#38407C text on white 9.57:1 AAA Lc 92.0 Preferred for body text
#38407C text on black 2.19:1 Fails Lc -10.4 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D8F6

    oklch(88.6% 0.042 275.1)

  4. Step 300

    300

    #B2BDF2

    oklch(80.8% 0.076 275.5)

  5. Step 400

    400

    #8B9AEC

    oklch(70.8% 0.121 275)

  6. Step 500

    500

    #707EE5

    oklch(63% 0.154 275.2)

  7. Step 600

    600

    #5A65D3

    oklch(55.6% 0.167 275.3)

  8. Step 700

    700

    #4A53B7

    oklch(49.1% 0.156 275.2)

  9. Step 800

    800

    #3D4594

    oklch(42.8% 0.128 275.2)

  10. Step 900

    900 (this color)

    #38407C

    oklch(39.6% 0.101 275.1)

  11. Step 950

    950

    #1E2345

    oklch(27.1% 0.063 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#38407C 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)#25487E0.030
Deuteranopia (no green cones)#1E427B0.031
Tritanopia (no blue cones)#194D580.088
Achromatopsia (no color)#4545450.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #38407C

    #38407C

    oklch(39.6% 0.101 275.1)

  • #544600

    #544600

    oklch(39.7% 0.082 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38407C

    #38407C

    oklch(39.6% 0.101 275.1)

  • #004A78

    #004A78

    oklch(39.6% 0.1 245.1)

  • #543672

    #543672

    oklch(39.7% 0.102 305.3)

Open the analogous palette in the generator

Split complementary

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

  • #38407C

    #38407C

    oklch(39.6% 0.101 275.1)

  • #673B00

    #673B00

    oklch(39.7% 0.089 65)

  • #3A4F00

    #3A4F00

    oklch(39.5% 0.1 125.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38407C

    #38407C

    oklch(39.6% 0.101 275.1)

  • #732F1E

    #732F1E

    oklch(39.7% 0.1 35.2)

  • #00552E

    #00552E

    oklch(39.5% 0.097 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38407C

    #38407C

    oklch(39.6% 0.101 275.1)

  • #712B3F

    #712B3F

    oklch(39.6% 0.101 5.1)

  • #544600

    #544600

    oklch(39.7% 0.082 96)

  • #00534C

    #00534C

    oklch(39.8% 0.07 185.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38407C 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.