#5F798B
Closest named color: Grey Blue (#647D8E). oklch(56.2% 0.041 238.7), rgb(95, 121, 139).
Aa
Black text reads best on this color (4.59:1).
About this color
#5F798B is a medium-dark, muted blue. In OKLCH its lightness is 56%, its chroma 0.041 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Grey Blue (#647D8E), ΔE 0.014 away. Black text reads best on it, at 4.59:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | muted (0.041) |
| Temperature | cool |
| Nearest name | Grey Blue (#647D8E) |
| Black text | 4.59:1 |
| White text | 4.57:1 |
Values
| HEX | #5F798B |
| RGB | rgb(95, 121, 139) |
| HSL | hsl(205, 19%, 46%) |
| OKLCH | oklch(56.2% 0.041 238.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 #5F798B | 4.57:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #5F798B | 4.59:1 | AA | Lc 32.3 | Non-text elements, placeholder text |
| #5F798B text on white | 4.57:1 | AA | Lc 71.7 | Content text, not long reading |
| #5F798B text on black | 4.59:1 | AA | Lc -29.9 | 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
#E7EAED
oklch(93.6% 0.005 247.9)
-
Step 200
200
#D3DADF
oklch(88.4% 0.01 238.5)
-
Step 300
300
#B6C3CB
oklch(81% 0.018 234.6)
-
Step 400
400
#90A4B1
oklch(70.7% 0.029 236.4)
-
Step 500
500
#758D9E
oklch(63.1% 0.038 239.1)
-
Step 600
600 (this color)
#5F798B
oklch(56.2% 0.041 238.7)
-
Step 700
700
#4D6474
oklch(49.1% 0.038 238.9)
-
Step 800
800
#3F525F
oklch(42.8% 0.032 238.4)
-
Step 900
900
#36444D
oklch(37.8% 0.024 236.5)
-
Step 950
950
#20282D
oklch(27.1% 0.015 235.5)
#5F798B 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) | #71788C | 0.025 |
| Deuteranopia (no green cones) | #6B738B | 0.023 |
| Tritanopia (no blue cones) | #517E7F | 0.033 |
| Achromatopsia (no color) | #767676 | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F798B
#5F798B
oklch(56.2% 0.041 238.7)
- #88705D
#88705D
oklch(56.3% 0.041 60.2)
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 #5F798B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Blue #647D8E ΔE 0.014
- Battleship Grey #6B7C85 ΔE 0.022
- Battleship Gray #6C757D ΔE 0.025
- Stormy Blue #507B9C ΔE 0.029
- Metallic Blue #4F738E ΔE 0.029
- Slate Gray #708090 ΔE 0.032
- Steel Grey #6F828A ΔE 0.036
- Cerulean #457B9D ΔE 0.037
Use #5F798B 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.