#787FCE
Closest named color: Soft Blue (#6488EA). oklch(62.5% 0.119 278.5), rgb(120, 127, 206).
Aa
Black text reads best on this color (5.72:1).
About this color
#787FCE is a medium-light, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.119 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.048 away. Black text reads best on it, at 5.72:1.
| Hue family | Blues |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.119) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.72:1 |
| White text | 3.66:1 |
Values
| HEX | #787FCE |
| RGB | rgb(120, 127, 206) |
| HSL | hsl(235, 47%, 64%) |
| OKLCH | oklch(62.5% 0.119 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 #787FCE | 3.66:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #787FCE | 5.72:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #787FCE text on white | 3.66:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #787FCE text on black | 5.72:1 | AA | Lc -37.5 | 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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E7E9F5
oklch(93.6% 0.016 278.5)
-
Step 200
200
#D4D8EF
oklch(88.6% 0.032 277.9)
-
Step 300
300
#B8BEE6
oklch(81% 0.057 278.4)
-
Step 400
400
#939BDA
oklch(70.7% 0.092 278.2)
-
Step 500
500 (this color)
#787FCE
oklch(62.5% 0.119 278.5)
-
Step 600
600
#6469BD
oklch(55.6% 0.129 278.8)
-
Step 700
700
#5357A3
oklch(49.1% 0.12 278.7)
-
Step 800
800
#444884
oklch(42.8% 0.098 278.5)
-
Step 900
900
#393C6A
oklch(37.6% 0.078 279.1)
-
Step 950
950
#21243E
oklch(27.1% 0.048 277.6)
#787FCE 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) | #6389D1 | 0.034 |
| Deuteranopia (no green cones) | #5E82CC | 0.033 |
| Tritanopia (no blue cones) | #5D8F9D | 0.104 |
| Achromatopsia (no color) | #858585 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #787FCE
#787FCE
oklch(62.5% 0.119 278.5)
- #9A8820
#9A8820
oklch(62.5% 0.119 98.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 #787FCE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.048
- Faded Blue #658CBB ΔE 0.056
- Medium Purple #9370DB ΔE 0.058
- Perrywinkle #8F8CE7 ΔE 0.059
- Deep Lilac #966EBD ΔE 0.060
- Dark Sky Blue #448EE4 ΔE 0.066
- Cornflower Blue #6495ED ΔE 0.067
- Cool Blue #4984B8 ΔE 0.068
Use #787FCE 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.