#383D8A

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.126 276.3), rgb(56, 61, 138).

Aa

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

About this color

#383D8A is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.126 and its hue 276°. 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.53:1.

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

Values

HEX#383D8A
RGBrgb(56, 61, 138)
HSLhsl(236, 42%, 38%)
OKLCHoklch(40% 0.126 276.3)

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 #383D8A 9.53:1 AAA Lc -96.1 Preferred for body text
Black text on #383D8A 2.20:1 Fails Lc 12.2 Not readable
#383D8A text on white 9.53:1 AAA Lc 91.8 Preferred for body text
#383D8A text on black 2.20:1 Fails Lc -10.6 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FD

    oklch(93.7% 0.027 276.8)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #B0BCFE

    oklch(81% 0.094 276.1)

  5. Step 400

    400

    #8896FD

    oklch(70.7% 0.151 276)

  6. Step 500

    500

    #6E77FB

    oklch(63% 0.194 276.4)

  7. Step 600

    600

    #595CEA

    oklch(55.6% 0.209 276.3)

  8. Step 700

    700

    #4A4ACC

    oklch(49.1% 0.196 276.4)

  9. Step 800

    800

    #3C3EA5

    oklch(42.7% 0.162 276.2)

  10. Step 900

    900 (this color)

    #383D8A

    oklch(40% 0.126 276.3)

  11. Step 950

    950

    #1D214C

    oklch(27.1% 0.078 275.8)

Export this scale for Tailwind in the Tailwind colors tool

#383D8A 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)#0A498D0.048
Deuteranopia (no green cones)#0042880.048
Tritanopia (no blue cones)#024F5D0.111
Achromatopsia (no color)#4545450.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #383D8A

    #383D8A

    oklch(40% 0.126 276.3)

  • #554700

    #554700

    oklch(40% 0.082 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #383D8A

    #383D8A

    oklch(40% 0.126 276.3)

  • #004B7C

    #004B7C

    oklch(40.1% 0.104 246.4)

  • #59317C

    #59317C

    oklch(40.1% 0.125 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #383D8A

    #383D8A

    oklch(40% 0.126 276.3)

  • #673C00

    #673C00

    oklch(39.9% 0.089 66.1)

  • #3A5100

    #3A5100

    oklch(40.1% 0.102 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #383D8A

    #383D8A

    oklch(40% 0.126 276.3)

  • #7D260B

    #7D260B

    oklch(40% 0.126 36.4)

  • #005731

    #005731

    oklch(40.2% 0.097 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #383D8A

    #383D8A

    oklch(40% 0.126 276.3)

  • #7C213D

    #7C213D

    oklch(40.1% 0.126 6.4)

  • #554700

    #554700

    oklch(40% 0.082 96.2)

  • #00544E

    #00544E

    oklch(40.1% 0.07 186.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #383D8A 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.