#797F9B
Closest named color: Lavender Gray (#7E7F9A). oklch(60.2% 0.043 275.5), rgb(121, 127, 155).
Aa
Black text reads best on this color (5.32:1).
About this color
#797F9B is a medium-dark, muted blue. In OKLCH its lightness is 60%, its chroma 0.043 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.007 away. Black text reads best on it, at 5.32:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | muted (0.043) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.32:1 |
| White text | 3.94:1 |
Values
| HEX | #797F9B |
| RGB | rgb(121, 127, 155) |
| HSL | hsl(229, 15%, 54%) |
| OKLCH | oklch(60.2% 0.043 275.5) |
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 #797F9B | 3.94:1 | AA large text | Lc -72.4 | Content text, not long reading |
| Black text on #797F9B | 5.32:1 | AA | Lc 37.2 | Non-text elements, placeholder text |
| #797F9B text on white | 3.94:1 | AA large text | Lc 66.8 | Content text, not long reading |
| #797F9B text on black | 5.32:1 | AA | Lc -34.8 | 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
#E8E9EE
oklch(93.5% 0.007 277.2)
-
Step 200
200
#D7D9E1
oklch(88.6% 0.011 274.9)
-
Step 300
300
#BCC0CF
oklch(80.9% 0.021 274)
-
Step 400
400
#9A9FB6
oklch(70.6% 0.034 275.8)
-
Step 500
500 (this color)
#797F9B
oklch(60.2% 0.043 275.5)
-
Step 600
600
#6B718F
oklch(55.5% 0.047 275.9)
-
Step 700
700
#595F7A
oklch(49.1% 0.044 274.9)
-
Step 800
800
#494E63
oklch(42.8% 0.035 274.4)
-
Step 900
900
#3D4151
oklch(37.8% 0.028 274)
-
Step 950
950
#24262F
oklch(27% 0.017 275.4)
#797F9B 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) | #77819C | 0.006 |
| Deuteranopia (no green cones) | #757F9A | 0.006 |
| Tritanopia (no blue cones) | #718488 | 0.039 |
| Achromatopsia (no color) | #808080 | 0.043 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797F9B
#797F9B
oklch(60.2% 0.043 275.5)
- #888164
#888164
oklch(60.2% 0.043 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 #797F9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.007
- Slate Gray #708090 ΔE 0.023
- Steel #738595 ΔE 0.023
- Light Slate Gray #778899 ΔE 0.027
- Steel Grey #6F828A ΔE 0.034
- Grey Blue #647D8E ΔE 0.037
- Blue Grey #758DA3 ΔE 0.038
- Silver Lake Blue #778DA9 ΔE 0.039
Use #797F9B 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.