#5F798A
Closest named color: Grey Blue (#647D8E). oklch(56.2% 0.04 237.1), rgb(95, 121, 138).
Aa
Black text reads best on this color (4.58:1).
About this color
#5F798A is a medium-dark, muted blue. In OKLCH its lightness is 56%, its chroma 0.040 and its hue 237°. 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.58:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | muted (0.040) |
| Temperature | cool |
| Nearest name | Grey Blue (#647D8E) |
| Black text | 4.58:1 |
| White text | 4.57:1 |
Values
| HEX | #5F798A |
| RGB | rgb(95, 121, 138) |
| HSL | hsl(204, 18%, 46%) |
| OKLCH | oklch(56.2% 0.04 237.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 #5F798A | 4.57:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #5F798A | 4.58:1 | AA | Lc 32.3 | Non-text elements, placeholder text |
| #5F798A text on white | 4.57:1 | AA | Lc 71.8 | Content text, not long reading |
| #5F798A text on black | 4.58: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
#758D9D
oklch(63% 0.037 237.4)
-
Step 600
600 (this color)
#5F798A
oklch(56.2% 0.04 237.1)
-
Step 700
700
#4D6474
oklch(49.1% 0.038 238.9)
-
Step 800
800
#3F525E
oklch(42.7% 0.031 236.2)
-
Step 900
900
#36444D
oklch(37.8% 0.024 236.5)
-
Step 950
950
#20282D
oklch(27.1% 0.015 235.5)
#5F798A 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.025 |
| Deuteranopia (no green cones) | #6C738A | 0.024 |
| Tritanopia (no blue cones) | #527D7E | 0.030 |
| Achromatopsia (no color) | #757575 | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F798A
#5F798A
oklch(56.2% 0.04 237.1)
- #886F5E
#886F5E
oklch(56.1% 0.041 56)
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 #5F798A, 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.021
- Battleship Gray #6C757D ΔE 0.024
- Metallic Blue #4F738E ΔE 0.030
- Stormy Blue #507B9C ΔE 0.031
- Slate Gray #708090 ΔE 0.033
- Steel Grey #6F828A ΔE 0.036
- Cerulean #457B9D ΔE 0.038
Use #5F798A 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.