#51474F

Closest named color: Charcoal Grey (#3C4142). oklch(41.1% 0.019 332.7), rgb(81, 71, 79).

Aa

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

About this color

#51474F 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 Charcoal Grey (#3C4142), ΔE 0.046 away. White text reads best on it, at 8.88:1.

Hue familyNeutrals
Lightnessdark (41%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameCharcoal Grey (#3C4142)
Black text2.36:1
White text8.88:1

Values

HEX#51474F
RGBrgb(81, 71, 79)
HSLhsl(312, 7%, 30%)
OKLCHoklch(41.1% 0.019 332.7)

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 #51474F 8.88:1 AAA Lc -94.8 Preferred for body text
Black text on #51474F 2.36:1 Fails Lc 13.6 Not readable
#51474F text on white 8.88:1 AAA Lc 90.4 Preferred for body text
#51474F text on black 2.36:1 Fails Lc -11.9 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

    #EBE9EB

    oklch(93.6% 0.003 325.6)

  3. Step 200

    200

    #DCD8DB

    oklch(88.6% 0.006 334)

  4. Step 300

    300

    #C5BEC4

    oklch(80.9% 0.011 330.2)

  5. Step 400

    400

    #A89DA5

    oklch(70.8% 0.017 335.2)

  6. Step 500

    500

    #92858F

    oklch(63.1% 0.021 333.7)

  7. Step 600

    600

    #7C6E7A

    oklch(55.5% 0.025 330.6)

  8. Step 700

    700

    #695C66

    oklch(49.1% 0.023 333.9)

  9. Step 800

    800 (this color)

    #51474F

    oklch(41.1% 0.019 332.7)

  10. Step 900

    900

    #463F45

    oklch(37.7% 0.014 330.5)

  11. Step 950

    950

    #292528

    oklch(27% 0.008 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#51474F 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)#47494F0.017
Deuteranopia (no green cones)#494A4F0.016
Tritanopia (no blue cones)#52474A0.008
Achromatopsia (no color)#4A4A4A0.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #51474F

    #51474F

    oklch(41.1% 0.019 332.7)

  • #434E46

    #434E46

    oklch(41.1% 0.019 153.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51474F

    #51474F

    oklch(41.1% 0.019 332.7)

  • #4C4853

    #4C4853

    oklch(41% 0.019 302.1)

  • #54474A

    #54474A

    oklch(41.2% 0.018 2.3)

Open the analogous palette in the generator

Split complementary

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

  • #51474F

    #51474F

    oklch(41.1% 0.019 332.7)

  • #494C41

    #494C41

    oklch(41% 0.018 119.6)

  • #404E4B

    #404E4B

    oklch(41.1% 0.018 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51474F

    #51474F

    oklch(41.1% 0.019 332.7)

  • #4E4A3F

    #4E4A3F

    oklch(41% 0.019 90.4)

  • #3F4D51

    #3F4D51

    oklch(41% 0.019 216.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51474F

    #51474F

    oklch(41.1% 0.019 332.7)

  • #524940

    #524940

    oklch(41.2% 0.019 67.3)

  • #434E46

    #434E46

    oklch(41.1% 0.019 153.9)

  • #424C54

    #424C54

    oklch(41.1% 0.019 242.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51474F 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.