#38387F

Closest named color: Dark Slate Blue (#483D8B). oklch(38.2% 0.117 279.3), rgb(56, 56, 127).

Aa

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

About this color

#38387F is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.117 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.036 away. White text reads best on it, at 10.29:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.04:1
White text10.29:1

Values

HEX#38387F
RGBrgb(56, 56, 127)
HSLhsl(240, 39%, 36%)
OKLCHoklch(38.2% 0.117 279.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 #38387F 10.29:1 AAA Lc -97.7 Preferred for body text
Black text on #38387F 2.04:1 Fails Lc 10.3 Not readable
#38387F text on white 10.29:1 AAA Lc 93.6 Preferred for body text
#38387F text on black 2.04:1 Fails Lc -8.9 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

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B4BBF9

    oklch(80.9% 0.088 279.2)

  5. Step 400

    400

    #8F95F6

    oklch(70.6% 0.141 279.4)

  6. Step 500

    500

    #7678F2

    oklch(63.1% 0.179 279.3)

  7. Step 600

    600

    #615DE1

    oklch(55.6% 0.195 279.3)

  8. Step 700

    700

    #514BC3

    oklch(49% 0.181 279.6)

  9. Step 800

    800

    #423F9E

    oklch(42.8% 0.15 279.4)

  10. Step 900

    900 (this color)

    #38387F

    oklch(38.2% 0.117 279.3)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#38387F 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)#0D43810.049
Deuteranopia (no green cones)#013E7E0.051
Tritanopia (no blue cones)#1748560.101
Achromatopsia (no color)#4040400.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #38387F

    #38387F

    oklch(38.2% 0.117 279.3)

  • #4D4300

    #4D4300

    oklch(38.1% 0.079 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38387F

    #38387F

    oklch(38.2% 0.117 279.3)

  • #004578

    #004578

    oklch(38.3% 0.105 248.9)

  • #552D71

    #552D71

    oklch(38.2% 0.117 309.1)

Open the analogous palette in the generator

Split complementary

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

  • #38387F

    #38387F

    oklch(38.2% 0.117 279.3)

  • #5F3900

    #5F3900

    oklch(38.2% 0.083 68.7)

  • #314D00

    #314D00

    oklch(38.3% 0.102 129.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38387F

    #38387F

    oklch(38.2% 0.117 279.3)

  • #742505

    #742505

    oklch(38.2% 0.118 39)

  • #005032

    #005032

    oklch(38.1% 0.086 159.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38387F

    #38387F

    oklch(38.2% 0.117 279.3)

  • #732035

    #732035

    oklch(38.2% 0.116 9.5)

  • #4D4300

    #4D4300

    oklch(38.1% 0.079 99.6)

  • #004E4A

    #004E4A

    oklch(38.2% 0.066 188.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38387F 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.