#797FAF
Closest named color: Lavender Gray (#7E7F9A). oklch(61% 0.073 278.5), rgb(121, 127, 175).
Aa
Black text reads best on this color (5.46:1).
About this color
#797FAF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.073 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.033 away. Black text reads best on it, at 5.46:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.46:1 |
| White text | 3.84:1 |
Values
| HEX | #797FAF |
| RGB | rgb(121, 127, 175) |
| HSL | hsl(233, 25%, 58%) |
| OKLCH | oklch(61% 0.073 278.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 #797FAF | 3.84:1 | AA large text | Lc -71.4 | Content text, not long reading |
| Black text on #797FAF | 5.46:1 | AA | Lc 38.2 | Non-text elements, placeholder text |
| #797FAF text on white | 3.84:1 | AA large text | Lc 65.9 | Content text, not long reading |
| #797FAF text on black | 5.46:1 | AA | Lc -35.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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E8E9F1
oklch(93.6% 0.011 280.5)
-
Step 200
200
#D6D8E7
oklch(88.5% 0.021 279.9)
-
Step 300
300
#BBBFD8
oklch(80.9% 0.035 278.4)
-
Step 400
400
#989EC5
oklch(70.8% 0.057 278)
-
Step 500
500 (this color)
#797FAF
oklch(61% 0.073 278.5)
-
Step 600
600
#696EA2
oklch(55.5% 0.081 279.2)
-
Step 700
700
#575C8A
oklch(49% 0.074 278.5)
-
Step 800
800
#474B70
oklch(42.6% 0.062 278.7)
-
Step 900
900
#3C3F5B
oklch(37.7% 0.048 279.1)
-
Step 950
950
#232535
oklch(27% 0.03 278.7)
#797FAF 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) | #7184B1 | 0.016 |
| Deuteranopia (no green cones) | #6E80AE | 0.015 |
| Tritanopia (no blue cones) | #6B8890 | 0.065 |
| Achromatopsia (no color) | #828282 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797FAF
#797FAF
oklch(61% 0.073 278.5)
- #8E844F
#8E844F
oklch(61% 0.073 98.9)
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 #797FAF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.033
- Faded Blue #658CBB ΔE 0.041
- Dusty Blue #5A86AD ΔE 0.042
- Silver Lake Blue #778DA9 ΔE 0.043
- Off Blue #5684AE ΔE 0.045
- Light Slate Gray #778899 ΔE 0.049
- Blue Grey #758DA3 ΔE 0.049
- Steel #738595 ΔE 0.050
Use #797FAF 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.