#4C5145

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.02 125.7), rgb(76, 81, 69).

Aa

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

About this color

#4C5145 is a dark close to neutral grey. In OKLCH its lightness is 43%, 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.043 away. White text reads best on it, at 8.17:1.

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

Values

HEX#4C5145
RGBrgb(76, 81, 69)
HSLhsl(85, 8%, 29%)
OKLCHoklch(42.7% 0.02 125.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 #4C5145 8.17:1 AAA Lc -92.9 Preferred for body text
Black text on #4C5145 2.57:1 Fails Lc 15.7 Dividers and decoration only
#4C5145 text on white 8.17:1 AAA Lc 88.3 Fine for body text
#4C5145 text on black 2.57:1 Fails Lc -13.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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE8

    oklch(93.6% 0.003 128.5)

  3. Step 200

    200

    #D8DAD5

    oklch(88.5% 0.007 124.5)

  4. Step 300

    300

    #BFC2BA

    oklch(80.9% 0.012 123.5)

  5. Step 400

    400

    #9EA396

    oklch(70.8% 0.019 124.1)

  6. Step 500

    500

    #868C7D

    oklch(63.1% 0.023 124.9)

  7. Step 600

    600

    #6F7666

    oklch(55.5% 0.026 126.5)

  8. Step 700

    700

    #5D6354

    oklch(49% 0.024 125.1)

  9. Step 800

    800 (this color)

    #4C5145

    oklch(42.7% 0.02 125.7)

  10. Step 900

    900

    #3F433A

    oklch(37.6% 0.016 126.8)

  11. Step 950

    950

    #252722

    oklch(26.9% 0.01 124.9)

Export this scale for Tailwind in the Tailwind colors tool

#4C5145 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)#524F440.011
Deuteranopia (no green cones)#524F450.011
Tritanopia (no blue cones)#4D504E0.016
Achromatopsia (no color)#4F4F4F0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C5145

    #4C5145

    oklch(42.7% 0.02 125.7)

  • #514C58

    #514C58

    oklch(42.6% 0.021 304.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C5145

    #4C5145

    oklch(42.7% 0.02 125.7)

  • #524F42

    #524F42

    oklch(42.6% 0.021 96.4)

  • #46524A

    #46524A

    oklch(42.5% 0.02 156.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C5145

    #4C5145

    oklch(42.7% 0.02 125.7)

  • #4B4E5A

    #4B4E5A

    oklch(42.6% 0.02 274.4)

  • #564B53

    #564B53

    oklch(42.7% 0.019 335.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C5145

    #4C5145

    oklch(42.7% 0.02 125.7)

  • #46505A

    #46505A

    oklch(42.6% 0.021 248.3)

  • #594A4D

    #594A4D

    oklch(42.5% 0.021 4.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C5145

    #4C5145

    oklch(42.7% 0.02 125.7)

  • #435256

    #435256

    oklch(42.7% 0.02 215.7)

  • #514C58

    #514C58

    oklch(42.6% 0.021 304.4)

  • #594B47

    #594B47

    oklch(42.6% 0.02 36.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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