#504B40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.4% 0.019 86.5), rgb(80, 75, 64).

Aa

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

About this color

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

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

Values

HEX#504B40
RGBrgb(80, 75, 64)
HSLhsl(41, 11%, 28%)
OKLCHoklch(41.4% 0.019 86.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 #504B40 8.67:1 AAA Lc -94.3 Preferred for body text
Black text on #504B40 2.42:1 Fails Lc 14.2 Not readable
#504B40 text on white 8.67:1 AAA Lc 89.8 Fine for body text
#504B40 text on black 2.42:1 Fails Lc -12.5 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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EBEAE7

    oklch(93.7% 0.004 91.4)

  3. Step 200

    200

    #DBD9D5

    oklch(88.6% 0.006 84.6)

  4. Step 300

    300

    #C4C0B9

    oklch(80.9% 0.011 81.8)

  5. Step 400

    400

    #A5A094

    oklch(70.6% 0.018 88)

  6. Step 500

    500

    #8F897A

    oklch(63.1% 0.023 88.8)

  7. Step 600

    600

    #7A7363

    oklch(55.7% 0.025 87.2)

  8. Step 700

    700

    #666052

    oklch(49% 0.023 87.6)

  9. Step 800

    800 (this color)

    #504B40

    oklch(41.4% 0.019 86.5)

  10. Step 900

    900

    #454139

    oklch(37.7% 0.014 84.6)

  11. Step 950

    950

    #282621

    oklch(26.9% 0.009 88.8)

Export this scale for Tailwind in the Tailwind colors tool

#504B40 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)#4E4B3F0.004
Deuteranopia (no green cones)#4F4C400.003
Tritanopia (no blue cones)#5349480.017
Achromatopsia (no color)#4B4B4B0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #504B40

    #504B40

    oklch(41.4% 0.019 86.5)

  • #474B56

    #474B56

    oklch(41.3% 0.019 269.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504B40

    #504B40

    oklch(41.4% 0.019 86.5)

  • #544942

    #544942

    oklch(41.4% 0.019 54.5)

  • #4B4D41

    #4B4D41

    oklch(41.5% 0.02 114.9)

Open the analogous palette in the generator

Split complementary

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

  • #504B40

    #504B40

    oklch(41.4% 0.019 86.5)

  • #424D55

    #424D55

    oklch(41.4% 0.019 239.6)

  • #4C4A55

    #4C4A55

    oklch(41.5% 0.018 293.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504B40

    #504B40

    oklch(41.4% 0.019 86.5)

  • #404F51

    #404F51

    oklch(41.5% 0.019 206.4)

  • #514851

    #514851

    oklch(41.4% 0.019 325.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504B40

    #504B40

    oklch(41.4% 0.019 86.5)

  • #414F4B

    #414F4B

    oklch(41.4% 0.019 176.2)

  • #474B56

    #474B56

    oklch(41.3% 0.019 269.7)

  • #55474C

    #55474C

    oklch(41.4% 0.021 354.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504B40 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.