#7B8EF8
Closest named color: Lavender Blue (#8B88F8). oklch(68% 0.157 273.8), rgb(123, 142, 248).
Aa
Black text reads best on this color (7.06:1).
About this color
#7B8EF8 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.157 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.024 away. Black text reads best on it, at 7.06:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.157) |
| Temperature | cool |
| Nearest name | Lavender Blue (#8B88F8) |
| Black text | 7.06:1 |
| White text | 2.97:1 |
Values
| HEX | #7B8EF8 |
| RGB | rgb(123, 142, 248) |
| HSL | hsl(231, 90%, 73%) |
| OKLCH | oklch(68% 0.157 273.8) |
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 #7B8EF8 | 2.97:1 | Fails | Lc -61.5 | Content text, not long reading |
| Black text on #7B8EF8 | 7.06:1 | AAA | Lc 47.9 | Large or bold text, headings |
| #7B8EF8 text on white | 2.97:1 | Fails | Lc 56.1 | Large or bold text, headings |
| #7B8EF8 text on black | 7.06:1 | AAA | Lc -45.7 | 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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FE
oklch(93.6% 0.029 273.1)
-
Step 200
200
#CDD7FE
oklch(88.4% 0.055 273.9)
-
Step 300
300
#ADBDFF
oklch(81% 0.095 273.6)
-
Step 400
400 (this color)
#7B8EF8
oklch(68% 0.157 273.8)
-
Step 500
500
#6778FF
oklch(63% 0.199 273.8)
-
Step 600
600
#525CF0
oklch(55.7% 0.219 273.9)
-
Step 700
700
#434AD1
oklch(49.1% 0.204 273.8)
-
Step 800
800
#373EA9
oklch(42.8% 0.169 273.9)
-
Step 900
900
#2E3785
oklch(37.7% 0.13 273.5)
-
Step 950
950
#1B214E
oklch(27.1% 0.082 273.9)
#7B8EF8 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) | #629BFC | 0.039 |
| Deuteranopia (no green cones) | #5591F6 | 0.042 |
| Tritanopia (no blue cones) | #45A5B7 | 0.140 |
| Achromatopsia (no color) | #969696 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B8EF8
#7B8EF8
oklch(68% 0.157 273.8)
- #B59500
#B59500
oklch(67.9% 0.139 93.5)
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 #7B8EF8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Blue #8B88F8 ΔE 0.024
- Perrywinkle #8F8CE7 ΔE 0.035
- Cornflower Blue #6495ED ΔE 0.036
- Periwinkle #8E82FE ΔE 0.039
- Soft Blue #6488EA ΔE 0.039
- Periwinkle Blue #8F99FB ΔE 0.041
- Chefchaouen Blue #4895EF ΔE 0.056
- Cornflower #6A79F7 ΔE 0.059
Use #7B8EF8 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.