#797E96
Closest named color: Lavender Gray (#7E7F9A). oklch(59.7% 0.037 276), rgb(121, 126, 150).
Aa
Black text reads best on this color (5.23:1).
About this color
#797E96 is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.037 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.010 away. Black text reads best on it, at 5.23:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | muted (0.037) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.23:1 |
| White text | 4.00:1 |
Values
| HEX | #797E96 |
| RGB | rgb(121, 126, 150) |
| HSL | hsl(230, 12%, 53%) |
| OKLCH | oklch(59.7% 0.037 276) |
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 #797E96 | 4.00:1 | AA large text | Lc -72.9 | Content text, not long reading |
| Black text on #797E96 | 5.23:1 | AA | Lc 36.7 | Non-text elements, placeholder text |
| #797E96 text on white | 4.00:1 | AA large text | Lc 67.4 | Content text, not long reading |
| #797E96 text on black | 5.23:1 | AA | Lc -34.3 | 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
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E9EAED
oklch(93.7% 0.004 271.4)
-
Step 200
200
#D7D9E0
oklch(88.6% 0.01 273.3)
-
Step 300
300
#BDC0CD
oklch(80.9% 0.018 275.6)
-
Step 400
400
#9B9FB3
oklch(70.6% 0.029 276.6)
-
Step 500
500 (this color)
#797E96
oklch(59.7% 0.037 276)
-
Step 600
600
#6C728B
oklch(55.6% 0.039 274.5)
-
Step 700
700
#5B5F76
oklch(49.1% 0.037 277.2)
-
Step 800
800
#4A4E60
oklch(42.7% 0.03 275.2)
-
Step 900
900
#3E414F
oklch(37.8% 0.024 275.7)
-
Step 950
950
#24262E
oklch(27% 0.015 274.3)
#797E96 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) | #788097 | 0.005 |
| Deuteranopia (no green cones) | #767E95 | 0.005 |
| Tritanopia (no blue cones) | #728286 | 0.033 |
| Achromatopsia (no color) | #7F7F7F | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797E96
#797E96
oklch(59.7% 0.037 276)
- #868067
#868067
oklch(59.8% 0.037 96.1)
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 #797E96, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.010
- Slate Gray #708090 ΔE 0.018
- Steel #738595 ΔE 0.022
- Light Slate Gray #778899 ΔE 0.028
- Steel Grey #6F828A ΔE 0.029
- Grey Blue #647D8E ΔE 0.033
- Battleship Grey #6B7C85 ΔE 0.034
- Gray #808080 ΔE 0.037
Use #797E96 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.