#38515E

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42% 0.037 231.4), rgb(56, 81, 94).

Aa

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

About this color

#38515E is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.037 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.029 away. White text reads best on it, at 8.37:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.037)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.50:1
White text8.37:1

Values

HEX#38515E
RGBrgb(56, 81, 94)
HSLhsl(201, 25%, 29%)
OKLCHoklch(42% 0.037 231.4)

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 #38515E 8.37:1 AAA Lc -93.4 Preferred for body text
Black text on #38515E 2.50:1 Fails Lc 15.1 Dividers and decoration only
#38515E text on white 8.37:1 AAA Lc 88.9 Fine for body text
#38515E text on black 2.50:1 Fails Lc -13.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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E6EBED

    oklch(93.7% 0.006 223.5)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B3C3CC

    oklch(80.8% 0.022 232.2)

  5. Step 400

    400

    #8BA5B3

    oklch(70.7% 0.035 231.5)

  6. Step 500

    500

    #6E8FA0

    oklch(63.1% 0.045 230.7)

  7. Step 600

    600

    #56798B

    oklch(55.6% 0.049 231.1)

  8. Step 700

    700

    #466676

    oklch(49.2% 0.045 230.5)

  9. Step 800

    800 (this color)

    #38515E

    oklch(42% 0.037 231.4)

  10. Step 900

    900

    #32454E

    oklch(37.8% 0.029 228.7)

  11. Step 950

    950

    #1D282E

    oklch(26.9% 0.019 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#38515E 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)#4B505F0.027
Deuteranopia (no green cones)#454C5E0.023
Tritanopia (no blue cones)#2A55550.028
Achromatopsia (no color)#4E4E4E0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #38515E

    #38515E

    oklch(42% 0.037 231.4)

  • #5E483B

    #5E483B

    oklch(42.1% 0.037 52)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38515E

    #38515E

    oklch(42% 0.037 231.4)

  • #345356

    #345356

    oklch(41.9% 0.037 203.6)

  • #424D62

    #424D62

    oklch(41.9% 0.038 263.2)

Open the analogous palette in the generator

Split complementary

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

  • #38515E

    #38515E

    oklch(42% 0.037 231.4)

  • #604544

    #604544

    oklch(42% 0.038 21.2)

  • #584B36

    #584B36

    oklch(42% 0.037 79.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38515E

    #38515E

    oklch(42% 0.037 231.4)

  • #5D454F

    #5D454F

    oklch(42% 0.036 352)

  • #4E4F38

    #4E4F38

    oklch(42% 0.036 109.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38515E

    #38515E

    oklch(42% 0.037 231.4)

  • #57475A

    #57475A

    oklch(42.2% 0.037 321)

  • #5E483B

    #5E483B

    oklch(42.1% 0.037 52)

  • #42523F

    #42523F

    oklch(41.9% 0.037 140.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38515E 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.