#504A56

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.9% 0.021 307.9), rgb(80, 74, 86).

Aa

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

About this color

#504A56 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.021. 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.55:1.

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

Values

HEX#504A56
RGBrgb(80, 74, 86)
HSLhsl(270, 8%, 31%)
OKLCHoklch(41.9% 0.021 307.9)

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 #504A56 8.55:1 AAA Lc -94.0 Preferred for body text
Black text on #504A56 2.45:1 Fails Lc 14.6 Not readable
#504A56 text on white 8.55:1 AAA Lc 89.4 Fine for body text
#504A56 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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DD

    oklch(88.5% 0.007 304.2)

  4. Step 300

    300

    #C3BFC7

    oklch(81% 0.012 308.3)

  5. Step 400

    400

    #A49EAA

    oklch(70.8% 0.018 308.2)

  6. Step 500

    500

    #8E8696

    oklch(63.2% 0.025 308)

  7. Step 600

    600

    #786F80

    oklch(55.6% 0.028 309.1)

  8. Step 700

    700

    #655D6C

    oklch(49.1% 0.026 309.3)

  9. Step 800

    800 (this color)

    #504A56

    oklch(41.9% 0.021 307.9)

  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

#504A56 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)#484C570.013
Deuteranopia (no green cones)#494C560.012
Tritanopia (no blue cones)#4F4B4E0.015
Achromatopsia (no color)#4C4C4C0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #504A56

    #504A56

    oklch(41.9% 0.021 307.9)

  • #4A4F43

    #4A4F43

    oklch(41.9% 0.02 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504A56

    #504A56

    oklch(41.9% 0.021 307.9)

  • #4A4C59

    #4A4C59

    oklch(42% 0.022 278.5)

  • #554951

    #554951

    oklch(42% 0.02 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #504A56

    #504A56

    oklch(41.9% 0.021 307.9)

  • #504D40

    #504D40

    oklch(41.9% 0.021 96.4)

  • #445149

    #445149

    oklch(42.1% 0.021 158.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504A56

    #504A56

    oklch(41.9% 0.021 307.9)

  • #554B41

    #554B41

    oklch(42% 0.021 67.2)

  • #40514F

    #40514F

    oklch(42% 0.022 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504A56

    #504A56

    oklch(41.9% 0.021 307.9)

  • #584945

    #584945

    oklch(41.9% 0.022 35.4)

  • #4A4F43

    #4A4F43

    oklch(41.9% 0.02 125.7)

  • #405055

    #405055

    oklch(41.9% 0.022 218.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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