#504C55
Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.4% 0.016 305.7), rgb(80, 76, 85).
Aa
White text reads best on this color (8.37:1).
About this color
#504C55 is a dark close to neutral grey. In OKLCH its lightness is 42%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.050 away. White text reads best on it, at 8.37:1.
| Hue family | Neutrals |
| Lightness | dark (42%) |
| Chroma | close to neutral grey (0.016) |
| Temperature | neutral |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.50:1 |
| White text | 8.37:1 |
Values
| HEX | #504C55 |
| RGB | rgb(80, 76, 85) |
| HSL | hsl(267, 6%, 32%) |
| OKLCH | oklch(42.4% 0.016 305.7) |
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 #504C55 | 8.37:1 | AAA | Lc -93.5 | Preferred for body text |
| Black text on #504C55 | 2.50:1 | Fails | Lc 15.1 | Dividers and decoration only |
| #504C55 text on white | 8.37:1 | AAA | Lc 88.9 | Fine for body text |
| #504C55 text on black | 2.50:1 | Fails | Lc -13.3 | 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
#EAE9EB
oklch(93.5% 0.003 308.4)
-
Step 200
200
#DAD8DC
oklch(88.5% 0.006 308.4)
-
Step 300
300
#C2BFC5
oklch(80.9% 0.009 308.3)
-
Step 400
400
#A39EA8
oklch(70.7% 0.015 308.2)
-
Step 500
500
#8C8793
oklch(63.2% 0.019 304.6)
-
Step 600
600
#76707D
oklch(55.5% 0.021 306.4)
-
Step 700
700
#635E69
oklch(49% 0.018 306.1)
-
Step 800
800 (this color)
#504C55
oklch(42.4% 0.016 305.7)
-
Step 900
900
#434047
oklch(37.7% 0.012 305.1)
-
Step 950
950
#272529
oklch(26.8% 0.008 308.1)
#504C55 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) | #4B4D55 | 0.008 |
| Deuteranopia (no green cones) | #4B4E55 | 0.010 |
| Tritanopia (no blue cones) | #4F4D4F | 0.012 |
| Achromatopsia (no color) | #4E4E4E | 0.016 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #504C55
#504C55
oklch(42.4% 0.016 305.7)
- #4C5047
#4C5047
oklch(42.5% 0.015 126.7)
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 #504C55, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Slate Gray #2F4F4F ΔE 0.050
- Dusty Grape #545775 ΔE 0.055
- Charcoal Grey #3C4142 ΔE 0.055
- YInMn Blue #415A77 ΔE 0.061
- Purple Brown #673A3F ΔE 0.063
- Dark Grey Blue #29465B ΔE 0.063
- Charcoal #264653 ΔE 0.065
- Brownish Purple #76424E ΔE 0.070
Use #504C55 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.