#4D5147

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.8% 0.017 124.9), rgb(77, 81, 71).

Aa

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

About this color

#4D5147 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.044 away. White text reads best on it, at 8.12:1.

Hue familyNeutrals
Lightnessdark (43%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.58:1
White text8.12:1

Values

HEX#4D5147
RGBrgb(77, 81, 71)
HSLhsl(84, 7%, 30%)
OKLCHoklch(42.8% 0.017 124.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 #4D5147 8.12:1 AAA Lc -92.8 Preferred for body text
Black text on #4D5147 2.58:1 Fails Lc 15.8 Dividers and decoration only
#4D5147 text on white 8.12:1 AAA Lc 88.2 Fine for body text
#4D5147 text on black 2.58:1 Fails Lc -14.0 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

    #F5F5F5

    oklch(97% 0 0)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD6

    oklch(88.6% 0.006 128.5)

  4. Step 300

    300

    #BFC2BB

    oklch(81% 0.01 125.7)

  5. Step 400

    400

    #9EA298

    oklch(70.6% 0.015 124.7)

  6. Step 500

    500

    #868C7F

    oklch(63.1% 0.02 127.3)

  7. Step 600

    600

    #707668

    oklch(55.6% 0.022 126.1)

  8. Step 700

    700

    #5E6356

    oklch(49.1% 0.021 124.3)

  9. Step 800

    800 (this color)

    #4D5147

    oklch(42.8% 0.017 124.9)

  10. Step 900

    900

    #40433B

    oklch(37.7% 0.014 123.8)

  11. Step 950

    950

    #252723

    oklch(26.9% 0.008 128.8)

Export this scale for Tailwind in the Tailwind colors tool

#4D5147 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)#5250460.008
Deuteranopia (no green cones)#524F470.010
Tritanopia (no blue cones)#4E504E0.013
Achromatopsia (no color)#4F4F4F0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D5147

    #4D5147

    oklch(42.8% 0.017 124.9)

  • #514D57

    #514D57

    oklch(42.8% 0.017 303.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D5147

    #4D5147

    oklch(42.8% 0.017 124.9)

  • #524F45

    #524F45

    oklch(42.7% 0.017 93.2)

  • #48524B

    #48524B

    oklch(42.7% 0.017 155.1)

Open the analogous palette in the generator

Split complementary

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

  • #4D5147

    #4D5147

    oklch(42.8% 0.017 124.9)

  • #4C4F59

    #4C4F59

    oklch(42.9% 0.017 272.4)

  • #554C53

    #554C53

    oklch(42.8% 0.016 333.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D5147

    #4D5147

    oklch(42.8% 0.017 124.9)

  • #485058

    #485058

    oklch(42.7% 0.017 248.2)

  • #584C4E

    #584C4E

    oklch(42.9% 0.016 6.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D5147

    #4D5147

    oklch(42.8% 0.017 124.9)

  • #455255

    #455255

    oklch(42.8% 0.017 213.2)

  • #514D57

    #514D57

    oklch(42.8% 0.017 303.8)

  • #584C49

    #584C49

    oklch(42.8% 0.017 34.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4D5147 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.