#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 family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.017) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #4D5147 |
| RGB | rgb(77, 81, 71) |
| HSL | hsl(84, 7%, 30%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F5F5F5
oklch(97% 0 0)
-
Step 100
100
#E9EAE8
oklch(93.6% 0.003 128.5)
-
Step 200
200
#D8DAD6
oklch(88.6% 0.006 128.5)
-
Step 300
300
#BFC2BB
oklch(81% 0.01 125.7)
-
Step 400
400
#9EA298
oklch(70.6% 0.015 124.7)
-
Step 500
500
#868C7F
oklch(63.1% 0.02 127.3)
-
Step 600
600
#707668
oklch(55.6% 0.022 126.1)
-
Step 700
700
#5E6356
oklch(49.1% 0.021 124.3)
-
Step 800
800 (this color)
#4D5147
oklch(42.8% 0.017 124.9)
-
Step 900
900
#40433B
oklch(37.7% 0.014 123.8)
-
Step 950
950
#252723
oklch(26.9% 0.008 128.8)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #525046 | 0.008 |
| Deuteranopia (no green cones) | #524F47 | 0.010 |
| Tritanopia (no blue cones) | #4E504E | 0.013 |
| Achromatopsia (no color) | #4F4F4F | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Dark Slate Gray #2F4F4F ΔE 0.044
- Charcoal Grey #3C4142 ΔE 0.060
- Dark Green Blue #1F6357 ΔE 0.067
- Mud Brown #60460F ΔE 0.068
- Deep Teal #00555A ΔE 0.070
- Pine #2B5D34 ΔE 0.071
- Dark Blue Green #005249 ΔE 0.072
- Green Brown #544E03 ΔE 0.072
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.