#787EC7
Closest named color: Faded Blue (#658CBB). oklch(61.9% 0.11 279.1), rgb(120, 126, 199).
Aa
Black text reads best on this color (5.60:1).
About this color
#787EC7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.110 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Faded Blue (#658CBB), ΔE 0.051 away. Black text reads best on it, at 5.60:1.
| Hue family | Blues |
| Lightness | medium-dark (62%) |
| Chroma | moderately saturated (0.110) |
| Temperature | cool |
| Nearest name | Faded Blue (#658CBB) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #787EC7 |
| RGB | rgb(120, 126, 199) |
| HSL | hsl(235, 41%, 63%) |
| OKLCH | oklch(61.9% 0.11 279.1) |
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 #787EC7 | 3.74:1 | AA large text | Lc -70.4 | Content text, not long reading |
| Black text on #787EC7 | 5.60:1 | AA | Lc 39.1 | Non-text elements, placeholder text |
| #787EC7 text on white | 3.74:1 | AA large text | Lc 64.9 | Content text, not long reading |
| #787EC7 text on black | 5.60:1 | AA | Lc -36.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
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E7E9F4
oklch(93.6% 0.015 277.8)
-
Step 200
200
#D4D8ED
oklch(88.6% 0.029 277.2)
-
Step 300
300
#B9BEE4
oklch(81% 0.054 279.2)
-
Step 400
400
#959BD6
oklch(70.7% 0.086 279.4)
-
Step 500
500 (this color)
#787EC7
oklch(61.9% 0.11 279.1)
-
Step 600
600
#656AB8
oklch(55.6% 0.12 279)
-
Step 700
700
#54589E
oklch(49.1% 0.111 279)
-
Step 800
800
#454880
oklch(42.7% 0.092 279.4)
-
Step 900
900
#3A3D67
oklch(37.8% 0.071 279.3)
-
Step 950
950
#22243C
oklch(27.1% 0.045 279.3)
#787EC7 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) | #6587CA | 0.031 |
| Deuteranopia (no green cones) | #6181C5 | 0.030 |
| Tritanopia (no blue cones) | #608C99 | 0.096 |
| Achromatopsia (no color) | #848484 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #787EC7
#787EC7
oklch(61.9% 0.11 279.1)
- #96872C
#96872C
oklch(62% 0.111 99.8)
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 #787EC7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Faded Blue #658CBB ΔE 0.051
- Soft Blue #6488EA ΔE 0.057
- Deep Lilac #966EBD ΔE 0.057
- Off Blue #5684AE ΔE 0.063
- Medium Purple #9370DB ΔE 0.063
- Cool Blue #4984B8 ΔE 0.063
- Dusty Blue #5A86AD ΔE 0.063
- Perrywinkle #8F8CE7 ΔE 0.067
Use #787EC7 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.