#5D798A
Closest named color: Grey Blue (#647D8E). oklch(56.1% 0.042 235.2), rgb(93, 121, 138).
Aa
White text reads best on this color (4.59:1).
About this color
#5D798A is a medium-dark, muted blue. In OKLCH its lightness is 56%, its chroma 0.042 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Grey Blue (#647D8E), ΔE 0.016 away. White text reads best on it, at 4.59:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | muted (0.042) |
| Temperature | cool |
| Nearest name | Grey Blue (#647D8E) |
| Black text | 4.56:1 |
| White text | 4.59:1 |
Values
| HEX | #5D798A |
| RGB | rgb(93, 121, 138) |
| HSL | hsl(203, 19%, 45%) |
| OKLCH | oklch(56.1% 0.042 235.2) |
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 #5D798A | 4.59:1 | AA | Lc -77.4 | Fine for body text |
| Black text on #5D798A | 4.56:1 | AA | Lc 32.2 | Non-text elements, placeholder text |
| #5D798A text on white | 4.59:1 | AA | Lc 71.9 | Content text, not long reading |
| #5D798A text on black | 4.56:1 | AA | Lc -29.8 | 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 600.
-
Step 50
50
#F4F6F7
oklch(97.2% 0.003 228.8)
-
Step 100
100
#E6EAED
oklch(93.5% 0.006 239.8)
-
Step 200
200
#D3DADF
oklch(88.4% 0.01 238.5)
-
Step 300
300
#B6C3CB
oklch(81% 0.018 234.6)
-
Step 400
400
#8FA4B1
oklch(70.7% 0.03 235.1)
-
Step 500
500
#738E9E
oklch(63.2% 0.039 234.2)
-
Step 600
600 (this color)
#5D798A
oklch(56.1% 0.042 235.2)
-
Step 700
700
#4B6574
oklch(49.2% 0.039 233.9)
-
Step 800
800
#3E525E
oklch(42.7% 0.032 234.8)
-
Step 900
900
#35444D
oklch(37.7% 0.025 234.6)
-
Step 950
950
#1F282D
oklch(27% 0.016 232.4)
#5D798A 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) | #71788B | 0.027 |
| Deuteranopia (no green cones) | #6B738A | 0.024 |
| Tritanopia (no blue cones) | #4F7E7E | 0.033 |
| Achromatopsia (no color) | #757575 | 0.042 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D798A
#5D798A
oklch(56.1% 0.042 235.2)
- #896F5D
#896F5D
oklch(56.2% 0.043 56.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 #5D798A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Blue #647D8E ΔE 0.016
- Battleship Grey #6B7C85 ΔE 0.023
- Battleship Gray #6C757D ΔE 0.026
- Metallic Blue #4F738E ΔE 0.028
- Stormy Blue #507B9C ΔE 0.029
- Slate Gray #708090 ΔE 0.035
- Cerulean #457B9D ΔE 0.036
- Steel Grey #6F828A ΔE 0.038
Use #5D798A 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.