#38417D

Closest named color: Dark Slate Blue (#483D8B). oklch(39.9% 0.101 274.5), rgb(56, 65, 125).

Aa

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

About this color

#38417D is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.101 and its hue 274°. 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 9.45:1.

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

Values

HEX#38417D
RGBrgb(56, 65, 125)
HSLhsl(232, 38%, 35%)
OKLCHoklch(39.9% 0.101 274.5)

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 #38417D 9.45:1 AAA Lc -96.0 Preferred for body text
Black text on #38417D 2.22:1 Fails Lc 12.2 Not readable
#38417D text on white 9.45:1 AAA Lc 91.7 Preferred for body text
#38417D text on black 2.22:1 Fails Lc -10.7 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

    #D0D8F6

    oklch(88.6% 0.042 273.7)

  4. Step 300

    300

    #B1BEF2

    oklch(81% 0.075 273.7)

  5. Step 400

    400

    #8A9AEC

    oklch(70.7% 0.121 274.5)

  6. Step 500

    500

    #6F7FE6

    oklch(63.2% 0.155 274.5)

  7. Step 600

    600

    #5865D4

    oklch(55.5% 0.169 274.5)

  8. Step 700

    700

    #4954B7

    oklch(49.2% 0.155 274.4)

  9. Step 800

    800

    #3C4594

    oklch(42.7% 0.129 274.7)

  10. Step 900

    900 (this color)

    #38417D

    oklch(39.9% 0.101 274.5)

  11. Step 950

    950

    #1D2345

    oklch(27% 0.063 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#38417D 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)#26497F0.029
Deuteranopia (no green cones)#1E437C0.030
Tritanopia (no blue cones)#184E590.088
Achromatopsia (no color)#4646460.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #38417D

    #38417D

    oklch(39.9% 0.101 274.5)

  • #564600

    #564600

    oklch(39.9% 0.082 94)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38417D

    #38417D

    oklch(39.9% 0.101 274.5)

  • #004B79

    #004B79

    oklch(39.9% 0.1 244.9)

  • #543773

    #543773

    oklch(39.9% 0.102 304.5)

Open the analogous palette in the generator

Split complementary

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

  • #38417D

    #38417D

    oklch(39.9% 0.101 274.5)

  • #683B00

    #683B00

    oklch(39.9% 0.09 64.3)

  • #3C5000

    #3C5000

    oklch(40% 0.1 124.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38417D

    #38417D

    oklch(39.9% 0.101 274.5)

  • #742F1F

    #742F1F

    oklch(39.9% 0.101 34.4)

  • #00562E

    #00562E

    oklch(39.8% 0.099 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38417D

    #38417D

    oklch(39.9% 0.101 274.5)

  • #722C41

    #722C41

    oklch(39.9% 0.101 4.1)

  • #564600

    #564600

    oklch(39.9% 0.082 94)

  • #00544C

    #00544C

    oklch(40.1% 0.071 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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