#505D5A
Closest named color: Slate (#516572). oklch(46.6% 0.017 180.1), rgb(80, 93, 90).
Aa
White text reads best on this color (6.87:1).
About this color
#505D5A is a medium-dark close to neutral grey. In OKLCH its lightness is 47%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Slate (#516572), ΔE 0.039 away. White text reads best on it, at 6.87:1.
| Hue family | Neutrals |
| Lightness | medium-dark (47%) |
| Chroma | close to neutral grey (0.017) |
| Temperature | neutral |
| Nearest name | Slate (#516572) |
| Black text | 3.05:1 |
| White text | 6.87:1 |
Values
| HEX | #505D5A |
| RGB | rgb(80, 93, 90) |
| HSL | hsl(166, 8%, 34%) |
| OKLCH | oklch(46.6% 0.017 180.1) |
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 #505D5A | 6.87:1 | AA | Lc -88.8 | Fine for body text |
| Black text on #505D5A | 3.05:1 | AA large text | Lc 20.3 | Dividers and decoration only |
| #505D5A text on white | 6.87:1 | AA | Lc 83.8 | Fine for body text |
| #505D5A text on black | 3.05:1 | AA large text | Lc -18.2 | Dividers and decoration only |
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 700.
-
Step 50
50
#F5F6F5
oklch(97.2% 0.002 145.6)
-
Step 100
100
#E8EAEA
oklch(93.6% 0.002 197.1)
-
Step 200
200
#D6DAD9
oklch(88.5% 0.005 179.7)
-
Step 300
300
#BBC2C1
oklch(80.8% 0.008 186.8)
-
Step 400
400
#98A3A1
oklch(70.6% 0.013 183.9)
-
Step 500
500
#7F8D8A
oklch(63.1% 0.017 181.5)
-
Step 600
600
#687774
oklch(55.6% 0.018 182.3)
-
Step 700
700 (this color)
#505D5A
oklch(46.6% 0.017 180.1)
-
Step 800
800
#47524F
oklch(42.8% 0.015 177.4)
-
Step 900
900
#3C4442
oklch(37.9% 0.011 179)
-
Step 950
950
#232826
oklch(27.1% 0.008 169.8)
#505D5A 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) | #5C5B5A | 0.019 |
| Deuteranopia (no green cones) | #59595A | 0.017 |
| Tritanopia (no blue cones) | #4D5D5C | 0.005 |
| Achromatopsia (no color) | #5A5A5A | 0.017 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #505D5A
#505D5A
oklch(46.6% 0.017 180.1)
- #625659
#625659
oklch(46.6% 0.016 0.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 #505D5A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Slate #516572 ΔE 0.039
- Dusty Grape #545775 ΔE 0.054
- YInMn Blue #415A77 ΔE 0.054
- Dark Green Blue #1F6357 ΔE 0.055
- Dim Gray #696969 ΔE 0.057
- Dark Aqua #05696B ΔE 0.064
- Petrol #005F6A ΔE 0.066
- Dark Slate Gray #2F4F4F ΔE 0.067
Use #505D5A 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.