#4C504D
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.007 153.6), rgb(76, 80, 77).
Aa
White text reads best on this color (8.19:1).
About this color
#4C504D is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.007. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.040 away. White text reads best on it, at 8.19:1.
| Hue family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.007) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.56:1 |
| White text | 8.19:1 |
Values
| HEX | #4C504D |
| RGB | rgb(76, 80, 77) |
| HSL | hsl(135, 3%, 31%) |
| OKLCH | oklch(42.7% 0.007 153.6) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #4C504D | 8.19:1 | AAA | Lc -93.0 | Preferred for body text |
| Black text on #4C504D | 2.56:1 | Fails | Lc 15.6 | Dividers and decoration only |
| #4C504D text on white | 8.19:1 | AAA | Lc 88.4 | Fine for body text |
| #4C504D text on black | 2.56:1 | Fails | Lc -13.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.
-
Step 50
50
#F5F5F5
oklch(97% 0 0)
-
Step 100
100
#E9EAE9
oklch(93.6% 0.002 145.6)
-
Step 200
200
#D8D9D8
oklch(88.4% 0.002 145.6)
-
Step 300
300
#BFC1BF
oklch(80.9% 0.004 145.5)
-
Step 400
400
#9EA29F
oklch(70.8% 0.006 153.7)
-
Step 500
500
#868B87
oklch(63.1% 0.008 151.8)
-
Step 600
600
#6F7571
oklch(55.6% 0.009 156.9)
-
Step 700
700
#5D625E
oklch(49% 0.009 151.7)
-
Step 800
800 (this color)
#4C504D
oklch(42.7% 0.007 153.6)
-
Step 900
900
#3F4240
oklch(37.6% 0.005 157)
-
Step 950
950
#252726
oklch(27% 0.003 164.8)
#4C504D 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #504F4D | 0.007 |
| Deuteranopia (no green cones) | #4F4F4D | 0.005 |
| Tritanopia (no blue cones) | #4C504F | 0.003 |
| Achromatopsia (no color) | #4F4F4F | 0.007 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #4C504D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.040
- Charcoal Grey #3C4142 ΔE 0.056
- Dusty Grape #545775 ΔE 0.066
- Charcoal #264653 ΔE 0.066
- YInMn Blue #415A77 ΔE 0.067
- Deep Teal #00555A ΔE 0.067
- Dark Grey Blue #29465B ΔE 0.068
- Dark Green Blue #1F6357 ΔE 0.069
Use #4C504D 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.