#4D4F51
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.004 247.9), rgb(77, 79, 81).
Aa
White text reads best on this color (8.22:1).
About this color
#4D4F51 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.004. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.042 away. White text reads best on it, at 8.22:1.
| Hue family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.004) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.55:1 |
| White text | 8.22:1 |
Values
| HEX | #4D4F51 |
| RGB | rgb(77, 79, 81) |
| HSL | hsl(210, 3%, 31%) |
| OKLCH | oklch(42.6% 0.004 247.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #4D4F51 | 8.22:1 | AAA | Lc -93.1 | Preferred for body text |
| Black text on #4D4F51 | 2.55:1 | Fails | Lc 15.5 | Dividers and decoration only |
| #4D4F51 text on white | 8.22:1 | AAA | Lc 88.5 | Fine for body text |
| #4D4F51 text on black | 2.55:1 | Fails | Lc -13.7 | 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
#F5F5F6
oklch(97% 0.001 286.4)
-
Step 100
100
#E9EAEA
oklch(93.6% 0.001 197.1)
-
Step 200
200
#D8D9DA
oklch(88.5% 0.002 247.8)
-
Step 300
300
#BFC1C2
oklch(81% 0.003 228.8)
-
Step 400
400
#9FA1A3
oklch(70.8% 0.004 247.9)
-
Step 500
500
#878A8C
oklch(63.2% 0.005 236.5)
-
Step 600
600
#717476
oklch(55.7% 0.005 236.6)
-
Step 700
700
#5E6163
oklch(49.1% 0.005 236.6)
-
Step 800
800 (this color)
#4D4F51
oklch(42.6% 0.004 247.9)
-
Step 900
900
#404243
oklch(37.8% 0.003 228.9)
-
Step 950
950
#262627
oklch(26.9% 0.002 286.3)
#4D4F51 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) | #4E4F51 | 0.002 |
| Deuteranopia (no green cones) | #4E4F51 | 0.002 |
| Tritanopia (no blue cones) | #4C4F50 | 0.002 |
| Achromatopsia (no color) | #4F4F4F | 0.004 |
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 #4D4F51, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.042
- Charcoal Grey #3C4142 ΔE 0.056
- Dusty Grape #545775 ΔE 0.060
- YInMn Blue #415A77 ΔE 0.062
- Dark Grey Blue #29465B ΔE 0.065
- Charcoal #264653 ΔE 0.065
- Deep Teal #00555A ΔE 0.069
- Purple Brown #673A3F ΔE 0.070
Use #4D4F51 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.