#514D52
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.6% 0.01 319.5), rgb(81, 77, 82).
Aa
White text reads best on this color (8.28:1).
About this color
#514D52 is a dark close to neutral grey. In OKLCH its lightness is 43%, its chroma 0.010. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.049 away. White text reads best on it, at 8.28:1.
| Hue family | Neutrals |
| Lightness | dark (43%) |
| Chroma | close to neutral grey (0.010) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.53:1 |
| White text | 8.28:1 |
Values
| HEX | #514D52 |
| RGB | rgb(81, 77, 82) |
| HSL | hsl(288, 3%, 31%) |
| OKLCH | oklch(42.6% 0.01 319.5) |
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 #514D52 | 8.28:1 | AAA | Lc -93.2 | Preferred for body text |
| Black text on #514D52 | 2.53:1 | Fails | Lc 15.3 | Dividers and decoration only |
| #514D52 text on white | 8.28:1 | AAA | Lc 88.7 | Fine for body text |
| #514D52 text on black | 2.53:1 | Fails | Lc -13.5 | 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
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#EAE9EA
oklch(93.5% 0.002 325.6)
-
Step 200
200
#DAD8DA
oklch(88.4% 0.003 325.6)
-
Step 300
300
#C2BFC3
oklch(80.8% 0.006 317.8)
-
Step 400
400
#A39FA4
oklch(70.7% 0.008 319.4)
-
Step 500
500
#8D878E
oklch(63.1% 0.012 321.3)
-
Step 600
600
#777178
oklch(55.6% 0.013 321.3)
-
Step 700
700
#645F65
oklch(49.2% 0.011 320.6)
-
Step 800
800 (this color)
#514D52
oklch(42.6% 0.01 319.5)
-
Step 900
900
#434044
oklch(37.6% 0.008 317.7)
-
Step 950
950
#272628
oklch(27% 0.004 308.3)
#514D52 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) | #4D4E52 | 0.007 |
| Deuteranopia (no green cones) | #4D4E52 | 0.007 |
| Tritanopia (no blue cones) | #514D4F | 0.005 |
| Achromatopsia (no color) | #4E4E4E | 0.010 |
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 #514D52, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.049
- Charcoal Grey #3C4142 ΔE 0.056
- Dusty Grape #545775 ΔE 0.058
- Purple Brown #673A3F ΔE 0.062
- YInMn Blue #415A77 ΔE 0.063
- Dark Grey Blue #29465B ΔE 0.067
- Charcoal #264653 ΔE 0.068
- Brownish Purple #76424E ΔE 0.070
Use #514D52 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.