#4A5054
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.7% 0.01 236.8), rgb(74, 80, 84).
Aa
White text reads best on this color (8.18:1).
About this color
#4A5054 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.039 away. White text reads best on it, at 8.18: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.56:1 |
| White text | 8.18:1 |
Values
| HEX | #4A5054 |
| RGB | rgb(74, 80, 84) |
| HSL | hsl(204, 6%, 31%) |
| OKLCH | oklch(42.7% 0.01 236.8) |
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 #4A5054 | 8.18:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #4A5054 | 2.56:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #4A5054 text on white | 8.18:1 | AAA | Lc 88.3 | Fine for body text |
| #4A5054 text on black | 2.56: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.
-
Step 50
50
#F5F5F6
oklch(97% 0.001 286.4)
-
Step 100
100
#E9EAEB
oklch(93.7% 0.002 247.8)
-
Step 200
200
#D7D9DB
oklch(88.4% 0.004 247.9)
-
Step 300
300
#BDC1C4
oklch(80.9% 0.006 239.8)
-
Step 400
400
#9BA2A6
oklch(70.8% 0.01 232.4)
-
Step 500
500
#838B90
oklch(63.2% 0.012 234.9)
-
Step 600
600
#6C757A
oklch(55.6% 0.013 231.8)
-
Step 700
700
#5A6267
oklch(49.1% 0.013 235)
-
Step 800
800 (this color)
#4A5054
oklch(42.7% 0.01 236.8)
-
Step 900
900
#3E4245
oklch(37.6% 0.007 240)
-
Step 950
950
#242729
oklch(27% 0.006 236.7)
#4A5054 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) | #4E5054 | 0.006 |
| Deuteranopia (no green cones) | #4D4F54 | 0.005 |
| Tritanopia (no blue cones) | #485151 | 0.008 |
| Achromatopsia (no color) | #4F4F4F | 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 #4A5054, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.039
- Charcoal Grey #3C4142 ΔE 0.057
- YInMn Blue #415A77 ΔE 0.057
- Dusty Grape #545775 ΔE 0.057
- Dark Grey Blue #29465B ΔE 0.061
- Charcoal #264653 ΔE 0.062
- Deep Teal #00555A ΔE 0.064
- Petrol #005F6A ΔE 0.070
Use #4A5054 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.