#789EF7
Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.137 265.5), rgb(120, 158, 247).
Aa
Black text reads best on this color (8.03:1).
About this color
#789EF7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 71%, its chroma 0.137 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.031 away. Black text reads best on it, at 8.03:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.137) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.03:1 |
| White text | 2.61:1 |
Values
| HEX | #789EF7 |
| RGB | rgb(120, 158, 247) |
| HSL | hsl(222, 89%, 72%) |
| OKLCH | oklch(71% 0.137 265.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 #789EF7 | 2.61:1 | Fails | Lc -56.0 | Large or bold text, headings |
| Black text on #789EF7 | 8.03:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #789EF7 text on white | 2.61:1 | Fails | Lc 50.9 | Large or bold text, headings |
| #789EF7 text on black | 8.03:1 | AAA | Lc -51.0 | Large or bold text, headings |
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 400.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CAD9FA
oklch(88.5% 0.048 266)
-
Step 300
300
#A6C0F9
oklch(80.9% 0.086 265.5)
-
Step 400
400 (this color)
#789EF7
oklch(71% 0.137 265.5)
-
Step 500
500
#5682F2
oklch(63.1% 0.175 265.5)
-
Step 600
600
#3C68E1
oklch(55.6% 0.191 265.4)
-
Step 700
700
#2F56C4
oklch(49.2% 0.178 265.4)
-
Step 800
800
#27479E
oklch(42.7% 0.147 265.3)
-
Step 900
900
#243C7E
oklch(37.6% 0.116 266)
-
Step 950
950
#152449
oklch(27% 0.072 265.3)
#789EF7 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) | #7BA6FB | 0.022 |
| Deuteranopia (no green cones) | #6C9BF5 | 0.017 |
| Tritanopia (no blue cones) | #3BB1BF | 0.123 |
| Achromatopsia (no color) | #A0A0A0 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #789EF7
#789EF7
oklch(71% 0.137 265.5)
- #C89A20
#C89A20
oklch(71% 0.137 85.6)
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 #789EF7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.031
- Cornflower Blue #6495ED ΔE 0.037
- Perrywinkle #8F8CE7 ΔE 0.052
- Chefchaouen Blue #4895EF ΔE 0.057
- Lavender Blue #8B88F8 ΔE 0.058
- Soft Blue #6488EA ΔE 0.065
- Carolina Blue #8AB8FE ΔE 0.074
- Periwinkle #8E82FE ΔE 0.075
Use #789EF7 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.