#504B56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.2% 0.019 306), rgb(80, 75, 86).

Aa

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

About this color

#504B56 is a dark close to neutral grey. In OKLCH its lightness is 42%, 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.051 away. White text reads best on it, at 8.46:1.

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

Values

HEX#504B56
RGBrgb(80, 75, 86)
HSLhsl(267, 7%, 32%)
OKLCHoklch(42.2% 0.019 306)

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 #504B56 8.46:1 AAA Lc -93.7 Preferred for body text
Black text on #504B56 2.48:1 Fails Lc 14.8 Not readable
#504B56 text on white 8.46:1 AAA Lc 89.2 Fine for body text
#504B56 text on black 2.48:1 Fails Lc -13.1 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

    #F6F5F6

    oklch(97.1% 0.002 325.6)

  2. Step 100

    100

    #EAE9EB

    oklch(93.5% 0.003 308.4)

  3. Step 200

    200

    #DAD8DC

    oklch(88.5% 0.006 308.4)

  4. Step 300

    300

    #C2BFC6

    oklch(80.9% 0.01 305.4)

  5. Step 400

    400

    #A39EAA

    oklch(70.7% 0.018 304.7)

  6. Step 500

    500

    #8D8695

    oklch(63.1% 0.024 306.7)

  7. Step 600

    600

    #77707F

    oklch(55.7% 0.024 306.6)

  8. Step 700

    700

    #645E6B

    oklch(49.2% 0.022 306.4)

  9. Step 800

    800 (this color)

    #504B56

    oklch(42.2% 0.019 306)

  10. Step 900

    900

    #434048

    oklch(37.7% 0.014 302.7)

  11. Step 950

    950

    #27252A

    oklch(26.9% 0.01 303.8)

Export this scale for Tailwind in the Tailwind colors tool

#504B56 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)#494D570.012
Deuteranopia (no green cones)#4A4D560.011
Tritanopia (no blue cones)#4F4C4F0.013
Achromatopsia (no color)#4D4D4D0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #504B56

    #504B56

    oklch(42.2% 0.019 306)

  • #4B5044

    #4B5044

    oklch(42.3% 0.02 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504B56

    #504B56

    oklch(42.2% 0.019 306)

  • #4A4D58

    #4A4D58

    oklch(42.2% 0.019 273.5)

  • #554A51

    #554A51

    oklch(42.3% 0.018 339.5)

Open the analogous palette in the generator

Split complementary

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

  • #504B56

    #504B56

    oklch(42.2% 0.019 306)

  • #504E42

    #504E42

    oklch(42.2% 0.019 99.4)

  • #455149

    #455149

    oklch(42.2% 0.02 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504B56

    #504B56

    oklch(42.2% 0.019 306)

  • #554C43

    #554C43

    oklch(42.3% 0.019 67.3)

  • #42514F

    #42514F

    oklch(42.1% 0.019 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504B56

    #504B56

    oklch(42.2% 0.019 306)

  • #574A46

    #574A46

    oklch(42.1% 0.019 37.8)

  • #4B5044

    #4B5044

    oklch(42.3% 0.02 125.7)

  • #425054

    #425054

    oklch(42.1% 0.019 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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