#787FAF
Closest named color: Lavender Gray (#7E7F9A). oklch(60.9% 0.073 277.6), rgb(120, 127, 175).
Aa
Black text reads best on this color (5.45:1).
About this color
#787FAF 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.45:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.45:1 |
| White text | 3.85:1 |
Values
| HEX | #787FAF |
| RGB | rgb(120, 127, 175) |
| HSL | hsl(232, 26%, 58%) |
| OKLCH | oklch(60.9% 0.073 277.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 #787FAF | 3.85:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #787FAF | 5.45:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #787FAF text on white | 3.85:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #787FAF text on black | 5.45:1 | AA | Lc -35.7 | 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
#D5D8E7
oklch(88.4% 0.021 276.9)
-
Step 300
300
#BABFD8
oklch(80.9% 0.036 276.6)
-
Step 400
400
#979EC5
oklch(70.7% 0.058 276.9)
-
Step 500
500 (this color)
#787FAF
oklch(60.9% 0.073 277.6)
-
Step 600
600
#686FA2
oklch(55.7% 0.08 277.5)
-
Step 700
700
#565C8B
oklch(49% 0.076 277.7)
-
Step 800
800
#474C70
oklch(42.8% 0.06 277.5)
-
Step 900
900
#3B3F5B
oklch(37.6% 0.048 277.5)
-
Step 950
950
#232535
oklch(27% 0.03 278.7)
#787FAF 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.015 |
| Deuteranopia (no green cones) | #6D80AE | 0.015 |
| Tritanopia (no blue cones) | #6A8890 | 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°).
- #787FAF
#787FAF
oklch(60.9% 0.073 277.6)
- #8F844F
#8F844F
oklch(61.1% 0.074 97.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 #787FAF, 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.040
- Dusty Blue #5A86AD ΔE 0.041
- Off Blue #5684AE ΔE 0.043
- Silver Lake Blue #778DA9 ΔE 0.043
- Light Slate Gray #778899 ΔE 0.049
- Blue Grey #758DA3 ΔE 0.049
- Steel #738595 ΔE 0.049
Use #787FAF 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.