#38504F

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.1% 0.029 192.8), rgb(56, 80, 79).

Aa

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

About this color

#38504F is a dark close to neutral grey. In OKLCH its lightness is 41%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.012 away. White text reads best on it, at 8.64:1.

Hue familyNeutrals
Lightnessdark (41%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.42:1
White text8.64:1

Values

HEX#38504F
RGBrgb(56, 80, 79)
HSLhsl(178, 18%, 27%)
OKLCHoklch(41.1% 0.029 192.8)

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 #38504F 8.64:1 AAA Lc -94.2 Preferred for body text
Black text on #38504F 2.42:1 Fails Lc 14.3 Not readable
#38504F text on white 8.64:1 AAA Lc 89.7 Fine for body text
#38504F text on black 2.42:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F4F6F6

    oklch(97.2% 0.002 197.1)

  2. Step 100

    100

    #E6EBEB

    oklch(93.6% 0.005 197.1)

  3. Step 200

    200

    #D2DBDB

    oklch(88.5% 0.01 197)

  4. Step 300

    300

    #B5C4C3

    oklch(80.9% 0.017 192)

  5. Step 400

    400

    #8EA6A5

    oklch(70.6% 0.027 193.5)

  6. Step 500

    500

    #71918F

    oklch(63.2% 0.036 191.5)

  7. Step 600

    600

    #597B79

    oklch(55.6% 0.039 191.5)

  8. Step 700

    700

    #496766

    oklch(49% 0.035 193.5)

  9. Step 800

    800 (this color)

    #38504F

    oklch(41.1% 0.029 192.8)

  10. Step 900

    900

    #344645

    oklch(37.8% 0.023 192)

  11. Step 950

    950

    #1E2928

    oklch(27% 0.015 189.4)

Export this scale for Tailwind in the Tailwind colors tool

#38504F 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)#4D4E4F0.031
Deuteranopia (no green cones)#494A4F0.030
Tritanopia (no blue cones)#3051500.010
Achromatopsia (no color)#4C4C4C0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #38504F

    #38504F

    oklch(41.1% 0.029 192.8)

  • #5A4446

    #5A4446

    oklch(41.1% 0.031 12.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38504F

    #38504F

    oklch(41.1% 0.029 192.8)

  • #3C5046

    #3C5046

    oklch(41.1% 0.03 163.1)

  • #394F56

    #394F56

    oklch(41.2% 0.029 219.4)

Open the analogous palette in the generator

Split complementary

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

  • #38504F

    #38504F

    oklch(41.1% 0.029 192.8)

  • #57454F

    #57454F

    oklch(41.3% 0.029 344)

  • #59463E

    #59463E

    oklch(41.2% 0.029 44)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38504F

    #38504F

    oklch(41.1% 0.029 192.8)

  • #504656

    #504656

    oklch(41% 0.029 312.8)

  • #554839

    #554839

    oklch(41% 0.03 70.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38504F

    #38504F

    oklch(41.1% 0.029 192.8)

  • #48495B

    #48495B

    oklch(41.2% 0.03 282.5)

  • #5A4446

    #5A4446

    oklch(41.1% 0.031 12.4)

  • #4D4C39

    #4D4C39

    oklch(41.2% 0.03 105.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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