#797C8C
Closest named color: Slate Gray (#708090). oklch(58.9% 0.025 277.2), rgb(121, 124, 140).
Aa
Black text reads best on this color (5.07:1).
About this color
#797C8C is a medium-dark close to neutral grey. In OKLCH its lightness is 59%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Slate Gray (#708090), ΔE 0.015 away. Black text reads best on it, at 5.07:1.
| Hue family | Neutrals |
| Lightness | medium-dark (59%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Slate Gray (#708090) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #797C8C |
| RGB | rgb(121, 124, 140) |
| HSL | hsl(231, 8%, 51%) |
| OKLCH | oklch(58.9% 0.025 277.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 #797C8C | 4.13:1 | AA large text | Lc -74.0 | Content text, not long reading |
| Black text on #797C8C | 5.07:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #797C8C text on white | 4.13:1 | AA large text | Lc 68.5 | Content text, not long reading |
| #797C8C text on black | 5.07:1 | AA | Lc -33.2 | Non-text elements, placeholder text |
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
#F5F5F6
oklch(97% 0.001 286.4)
-
Step 100
100
#E9EAEC
oklch(93.7% 0.003 264.5)
-
Step 200
200
#D8D9DD
oklch(88.6% 0.006 275)
-
Step 300
300
#BEC0C8
oklch(80.9% 0.011 274.9)
-
Step 400
400
#9DA0AC
oklch(70.7% 0.018 274.7)
-
Step 500
500
#868897
oklch(63% 0.022 279.7)
-
Step 600
600 (this color)
#797C8C
oklch(58.9% 0.025 277.2)
-
Step 700
700
#5D606E
oklch(49.1% 0.023 276)
-
Step 800
800
#4C4E5A
oklch(42.7% 0.02 278)
-
Step 900
900
#3F414A
oklch(37.7% 0.016 275.7)
-
Step 950
950
#25262B
oklch(27% 0.009 276.8)
#797C8C 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) | #787D8D | 0.003 |
| Deuteranopia (no green cones) | #777C8C | 0.003 |
| Tritanopia (no blue cones) | #757F81 | 0.023 |
| Achromatopsia (no color) | #7D7D7D | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797C8C
#797C8C
oklch(58.9% 0.025 277.2)
- #817D6D
#817D6D
oklch(58.9% 0.024 95.5)
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 #797C8C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Slate Gray #708090 ΔE 0.015
- Steel Grey #6F828A ΔE 0.022
- Lavender Gray #7E7F9A ΔE 0.023
- Battleship Grey #6B7C85 ΔE 0.024
- Steel #738595 ΔE 0.025
- Gray #808080 ΔE 0.027
- Grey Blue #647D8E ΔE 0.028
- Medium Grey #7D7F7C ΔE 0.029
Use #797C8C 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.