#504A55

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.9% 0.02 309.8), rgb(80, 74, 85).

Aa

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

About this color

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

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

Values

HEX#504A55
RGBrgb(80, 74, 85)
HSLhsl(273, 7%, 31%)
OKLCHoklch(41.9% 0.02 309.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 #504A55 8.56:1 AAA Lc -94.0 Preferred for body text
Black text on #504A55 2.45:1 Fails Lc 14.5 Not readable
#504A55 text on white 8.56:1 AAA Lc 89.5 Fine for body text
#504A55 text on black 2.45:1 Fails Lc -12.8 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

    #C3BFC6

    oklch(81% 0.011 311.2)

  5. Step 400

    400

    #A49EA9

    oklch(70.8% 0.017 310)

  6. Step 500

    500

    #8E8694

    oklch(63.2% 0.023 311)

  7. Step 600

    600

    #786F7F

    oklch(55.5% 0.027 310.5)

  8. Step 700

    700

    #655D6B

    oklch(49.1% 0.024 310.9)

  9. Step 800

    800 (this color)

    #504A55

    oklch(41.9% 0.02 309.8)

  10. Step 900

    900

    #443F48

    oklch(37.6% 0.016 310.3)

  11. Step 950

    950

    #28252A

    oklch(27% 0.01 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#504A55 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)#484C560.013
Deuteranopia (no green cones)#4A4C550.011
Tritanopia (no blue cones)#504B4E0.013
Achromatopsia (no color)#4C4C4C0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #504A55

    #504A55

    oklch(41.9% 0.02 309.8)

  • #494F44

    #494F44

    oklch(41.9% 0.019 130.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504A55

    #504A55

    oklch(41.9% 0.02 309.8)

  • #4A4C58

    #4A4C58

    oklch(41.9% 0.02 278)

  • #544950

    #544950

    oklch(41.9% 0.018 339.5)

Open the analogous palette in the generator

Split complementary

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

  • #504A55

    #504A55

    oklch(41.9% 0.02 309.8)

  • #4F4D41

    #4F4D41

    oklch(41.8% 0.019 99.4)

  • #445049

    #445049

    oklch(41.8% 0.019 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504A55

    #504A55

    oklch(41.9% 0.02 309.8)

  • #544B41

    #544B41

    oklch(41.9% 0.02 70.2)

  • #41504F

    #41504F

    oklch(41.8% 0.019 191.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504A55

    #504A55

    oklch(41.9% 0.02 309.8)

  • #574945

    #574945

    oklch(41.8% 0.02 36.5)

  • #494F44

    #494F44

    oklch(41.9% 0.019 130.7)

  • #415054

    #415054

    oklch(42% 0.02 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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