#505247

Closest named color: Dark Slate Gray (#2F4F4F). oklch(43.3% 0.018 115.5), rgb(80, 82, 71).

Aa

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

About this color

#505247 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.018. 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 7.95:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.63:1
White text7.95:1

Values

HEX#505247
RGBrgb(80, 82, 71)
HSLhsl(71, 7%, 30%)
OKLCHoklch(43.3% 0.018 115.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 #505247 7.95:1 AAA Lc -92.3 Preferred for body text
Black text on #505247 2.63:1 Fails Lc 16.4 Dividers and decoration only
#505247 text on white 7.95:1 AAA Lc 87.6 Fine for body text
#505247 text on black 2.63:1 Fails Lc -14.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

    #F5F5F4

    oklch(97% 0.001 106.4)

  2. Step 100

    100

    #EAEAE8

    oklch(93.6% 0.003 106.5)

  3. Step 200

    200

    #D9DAD5

    oklch(88.6% 0.007 115.7)

  4. Step 300

    300

    #C0C1BA

    oklch(80.8% 0.01 113.2)

  5. Step 400

    400

    #A0A296

    oklch(70.7% 0.017 114.5)

  6. Step 500

    500

    #898B7D

    oklch(63.1% 0.021 113.6)

  7. Step 600

    600

    #727566

    oklch(55.5% 0.023 116.3)

  8. Step 700

    700

    #606255

    oklch(49% 0.02 114.3)

  9. Step 800

    800 (this color)

    #505247

    oklch(43.3% 0.018 115.5)

  10. Step 900

    900

    #41433A

    oklch(37.8% 0.015 117.3)

  11. Step 950

    950

    #262722

    oklch(27% 0.009 116.2)

Export this scale for Tailwind in the Tailwind colors tool

#505247 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)#5451460.007
Deuteranopia (no green cones)#5451470.007
Tritanopia (no blue cones)#51514F0.015
Achromatopsia (no color)#5151510.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #505247

    #505247

    oklch(43.3% 0.018 115.5)

  • #514F5A

    #514F5A

    oklch(43.4% 0.018 294)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505247

    #505247

    oklch(43.3% 0.018 115.5)

  • #555046

    #555046

    oklch(43.3% 0.017 84.6)

  • #4B534B

    #4B534B

    oklch(43.2% 0.016 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #505247

    #505247

    oklch(43.3% 0.018 115.5)

  • #4C515B

    #4C515B

    oklch(43.4% 0.018 264.4)

  • #564D56

    #564D56

    oklch(43.2% 0.019 325.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505247

    #505247

    oklch(43.3% 0.018 115.5)

  • #485259

    #485259

    oklch(43.2% 0.017 238.4)

  • #594D51

    #594D51

    oklch(43.4% 0.017 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505247

    #505247

    oklch(43.3% 0.018 115.5)

  • #465455

    #465455

    oklch(43.4% 0.018 201.8)

  • #514F5A

    #514F5A

    oklch(43.4% 0.018 294)

  • #5A4D4C

    #5A4D4C

    oklch(43.3% 0.018 23.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #505247 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.