#38408B

Closest named color: Dark Slate Blue (#483D8B). oklch(40.7% 0.123 274.9), rgb(56, 64, 139).

Aa

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

About this color

#38408B is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.123 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.025 away. White text reads best on it, at 9.23:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.27:1
White text9.23:1

Values

HEX#38408B
RGBrgb(56, 64, 139)
HSLhsl(234, 43%, 38%)
OKLCHoklch(40.7% 0.123 274.9)

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 #38408B 9.23:1 AAA Lc -95.4 Preferred for body text
Black text on #38408B 2.27:1 Fails Lc 12.9 Not readable
#38408B text on white 9.23:1 AAA Lc 91.0 Preferred for body text
#38408B text on black 2.27:1 Fails Lc -11.3 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 800.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D1D8F4

    oklch(88.6% 0.039 274.4)

  4. Step 300

    300

    #B2BEF0

    oklch(81% 0.072 274.2)

  5. Step 400

    400

    #8C9AE8

    oklch(70.7% 0.115 275.3)

  6. Step 500

    500

    #717FE1

    oklch(63.1% 0.147 275.2)

  7. Step 600

    600

    #5A66CF

    oklch(55.5% 0.161 275)

  8. Step 700

    700

    #4A54B3

    oklch(49% 0.149 274.9)

  9. Step 800

    800 (this color)

    #38408B

    oklch(40.7% 0.123 274.9)

  10. Step 900

    900

    #333B74

    oklch(37.6% 0.097 274.7)

  11. Step 950

    950

    #1E2344

    oklch(27% 0.061 275)

Export this scale for Tailwind in the Tailwind colors tool

#38408B 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)#144B8E0.042
Deuteranopia (no green cones)#0044890.046
Tritanopia (no blue cones)#00515F0.108
Achromatopsia (no color)#4747470.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #38408B

    #38408B

    oklch(40.7% 0.123 274.9)

  • #584800

    #584800

    oklch(40.6% 0.083 94.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38408B

    #38408B

    oklch(40.7% 0.123 274.9)

  • #004D7D

    #004D7D

    oklch(40.7% 0.103 245.4)

  • #5A347E

    #5A347E

    oklch(40.8% 0.123 305.3)

Open the analogous palette in the generator

Split complementary

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

  • #38408B

    #38408B

    oklch(40.7% 0.123 274.9)

  • #6B3D00

    #6B3D00

    oklch(40.7% 0.092 64.4)

  • #3D5200

    #3D5200

    oklch(40.6% 0.102 124.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38408B

    #38408B

    oklch(40.7% 0.123 274.9)

  • #7F2913

    #7F2913

    oklch(40.8% 0.124 35.1)

  • #005930

    #005930

    oklch(40.8% 0.101 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38408B

    #38408B

    oklch(40.7% 0.123 274.9)

  • #7D2441

    #7D2441

    oklch(40.8% 0.124 4.7)

  • #584800

    #584800

    oklch(40.6% 0.083 94.4)

  • #00564F

    #00564F

    oklch(40.8% 0.072 185.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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