#7E8FEB
Closest named color: Perrywinkle (#8F8CE7). oklch(67.7% 0.137 274.2), rgb(126, 143, 235).
Aa
Black text reads best on this color (7.01:1).
About this color
#7E8FEB is a medium-light, moderately saturated blue. In OKLCH its lightness is 68%, its chroma 0.137 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.023 away. Black text reads best on it, at 7.01:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.137) |
| Temperature | cool |
| Nearest name | Perrywinkle (#8F8CE7) |
| Black text | 7.01:1 |
| White text | 2.99:1 |
Values
| HEX | #7E8FEB |
| RGB | rgb(126, 143, 235) |
| HSL | hsl(231, 73%, 71%) |
| OKLCH | oklch(67.7% 0.137 274.2) |
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 #7E8FEB | 2.99:1 | Fails | Lc -61.8 | Content text, not long reading |
| Black text on #7E8FEB | 7.01:1 | AAA | Lc 47.6 | Large or bold text, headings |
| #7E8FEB text on white | 2.99:1 | Fails | Lc 56.5 | Large or bold text, headings |
| #7E8FEB text on black | 7.01:1 | AAA | Lc -45.3 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CFD8F9
oklch(88.6% 0.047 273.4)
-
Step 300
300
#AFBDF9
oklch(80.9% 0.086 274.1)
-
Step 400
400 (this color)
#7E8FEB
oklch(67.7% 0.137 274.2)
-
Step 500
500
#6B7CF1
oklch(63.1% 0.175 274.1)
-
Step 600
600
#5562E0
oklch(55.6% 0.19 274)
-
Step 700
700
#4650C3
oklch(49.2% 0.177 274.1)
-
Step 800
800
#39429D
oklch(42.6% 0.146 274.1)
-
Step 900
900
#31397D
oklch(37.7% 0.114 274.5)
-
Step 950
950
#1C2249
oklch(27% 0.072 274)
#7E8FEB 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) | #6C9AEF | 0.032 |
| Deuteranopia (no green cones) | #6391E9 | 0.032 |
| Tritanopia (no blue cones) | #56A2B2 | 0.121 |
| Achromatopsia (no color) | #959595 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E8FEB
#7E8FEB
oklch(67.7% 0.137 274.2)
- #B39509
#B39509
oklch(67.7% 0.137 94.3)
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 #7E8FEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Perrywinkle #8F8CE7 ΔE 0.023
- Cornflower Blue #6495ED ΔE 0.032
- Lavender Blue #8B88F8 ΔE 0.033
- Soft Blue #6488EA ΔE 0.039
- Periwinkle Blue #8F99FB ΔE 0.041
- Periwinkle #8E82FE ΔE 0.050
- Chefchaouen Blue #4895EF ΔE 0.055
- Dark Sky Blue #448EE4 ΔE 0.063
Use #7E8FEB 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.