#798A7D
Closest named color: Medium Grey (#7D7F7C). oklch(61.6% 0.028 152.6), rgb(121, 138, 125).
Aa
Black text reads best on this color (5.74:1).
About this color
#798A7D is a medium-dark close to neutral grey. In OKLCH its lightness is 62%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.032 away. Black text reads best on it, at 5.74:1.
| Hue family | Neutrals |
| Lightness | medium-dark (62%) |
| Chroma | close to neutral grey (0.028) |
| Temperature | neutral |
| Nearest name | Medium Grey (#7D7F7C) |
| Black text | 5.74:1 |
| White text | 3.65:1 |
Values
| HEX | #798A7D |
| RGB | rgb(121, 138, 125) |
| HSL | hsl(134, 7%, 51%) |
| OKLCH | oklch(61.6% 0.028 152.6) |
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 #798A7D | 3.65:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #798A7D | 5.74:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #798A7D text on white | 3.65:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #798A7D text on black | 5.74:1 | AA | Lc -37.5 | 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 500.
-
Step 50
50
#F4F6F5
oklch(97.1% 0.002 165.1)
-
Step 100
100
#E8EBE8
oklch(93.7% 0.005 145.5)
-
Step 200
200
#D6DBD7
oklch(88.6% 0.008 151.9)
-
Step 300
300
#BAC3BC
oklch(80.8% 0.014 152.5)
-
Step 400
400
#97A59A
oklch(70.8% 0.022 152)
-
Step 500
500 (this color)
#798A7D
oklch(61.6% 0.028 152.6)
-
Step 600
600
#67796B
oklch(55.7% 0.03 151.9)
-
Step 700
700
#556659
oklch(49.2% 0.029 152.3)
-
Step 800
800
#465349
oklch(42.8% 0.023 152.2)
-
Step 900
900
#3B443D
oklch(37.6% 0.017 152.1)
-
Step 950
950
#222824
oklch(26.9% 0.011 156.4)
#798A7D 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) | #8A877C | 0.025 |
| Deuteranopia (no green cones) | #87857E | 0.024 |
| Tritanopia (no blue cones) | #778986 | 0.015 |
| Achromatopsia (no color) | #868686 | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #798A7D
#798A7D
oklch(61.6% 0.028 152.6)
- #8F7F8C
#8F7F8C
oklch(61.5% 0.027 332.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 #798A7D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Grey #7D7F7C ΔE 0.032
- Gray #808080 ΔE 0.032
- Green Grey #77926F ΔE 0.036
- Brown Grey #8D8468 ΔE 0.037
- Steel Grey #6F828A ΔE 0.038
- Slate Green #658D6D ΔE 0.040
- Steel #738595 ΔE 0.044
- Light Slate Gray #778899 ΔE 0.045
Use #798A7D 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.