#505E71
Closest named color: Slate (#516572). oklch(47.7% 0.035 256.1), rgb(80, 94, 113).
Aa
White text reads best on this color (6.60:1).
About this color
#505E71 is a medium-dark, muted blue. In OKLCH its lightness is 48%, its chroma 0.035 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Slate (#516572), ΔE 0.021 away. White text reads best on it, at 6.60:1.
| Hue family | Blues |
| Lightness | medium-dark (48%) |
| Chroma | muted (0.035) |
| Temperature | cool |
| Nearest name | Slate (#516572) |
| Black text | 3.18:1 |
| White text | 6.60:1 |
Values
| HEX | #505E71 |
| RGB | rgb(80, 94, 113) |
| HSL | hsl(215, 17%, 38%) |
| OKLCH | oklch(47.7% 0.035 256.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 #505E71 | 6.60:1 | AA | Lc -87.7 | Fine for body text |
| Black text on #505E71 | 3.18:1 | AA large text | Lc 21.4 | Dividers and decoration only |
| #505E71 text on white | 6.60:1 | AA | Lc 82.7 | Fine for body text |
| #505E71 text on black | 3.18:1 | AA large text | Lc -19.3 | 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
#F4F5F7
oklch(97% 0.003 264.5)
-
Step 100
100
#E8EAED
oklch(93.6% 0.005 258.3)
-
Step 200
200
#D5D9DF
oklch(88.4% 0.009 258.3)
-
Step 300
300
#BAC1CC
oklch(80.9% 0.017 259.4)
-
Step 400
400
#96A2B2
oklch(70.8% 0.027 255.6)
-
Step 500
500
#7C8B9F
oklch(63.2% 0.035 255.6)
-
Step 600
600
#65758A
oklch(55.7% 0.038 255.3)
-
Step 700
700 (this color)
#505E71
oklch(47.7% 0.035 256.1)
-
Step 800
800
#45505F
oklch(42.7% 0.029 256.2)
-
Step 900
900
#3A424E
oklch(37.7% 0.023 258.4)
-
Step 950
950
#22272E
oklch(27.1% 0.015 256.8)
#505E71 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) | #575F72 | 0.011 |
| Deuteranopia (no green cones) | #545B71 | 0.010 |
| Tritanopia (no blue cones) | #476264 | 0.031 |
| Achromatopsia (no color) | #5D5D5D | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #505E71
#505E71
oklch(47.7% 0.035 256.1)
- #695A47
#695A47
oklch(47.7% 0.035 73.4)
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 #505E71, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Slate #516572 ΔE 0.021
- Dusty Grape #545775 ΔE 0.024
- YInMn Blue #415A77 ΔE 0.028
- Dusk #4E5481 ΔE 0.046
- Denim #3B638C ΔE 0.047
- Dim Gray #696969 ΔE 0.056
- Dusky Blue #475F94 ΔE 0.057
- Light Navy Blue #2E5A88 ΔE 0.058
Use #505E71 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.