#8798FD
Closest named color: Periwinkle Blue (#8F99FB). oklch(71% 0.148 274.8), rgb(135, 152, 253).
Aa
Black text reads best on this color (7.93:1).
About this color
#8798FD is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.148 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.011 away. Black text reads best on it, at 7.93:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.148) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.93:1 |
| White text | 2.64:1 |
Values
| HEX | #8798FD |
| RGB | rgb(135, 152, 253) |
| HSL | hsl(231, 97%, 76%) |
| OKLCH | oklch(71% 0.148 274.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 #8798FD | 2.64:1 | Fails | Lc -56.5 | Large or bold text, headings |
| Black text on #8798FD | 7.93:1 | AAA | Lc 52.7 | Large or bold text, headings |
| #8798FD text on white | 2.64:1 | Fails | Lc 51.4 | Large or bold text, headings |
| #8798FD text on black | 7.93:1 | AAA | Lc -50.5 | 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
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CFD7FC
oklch(88.5% 0.052 275.7)
-
Step 300
300
#AFBCFD
oklch(80.9% 0.093 275.4)
-
Step 400
400 (this color)
#8798FD
oklch(71% 0.148 274.8)
-
Step 500
500
#6B79F9
oklch(63% 0.189 274.9)
-
Step 600
600
#555EE8
oklch(55.6% 0.205 274.7)
-
Step 700
700
#464CCA
oklch(49% 0.192 274.7)
-
Step 800
800
#3940A3
oklch(42.7% 0.157 274.5)
-
Step 900
900
#303782
oklch(37.6% 0.125 274.7)
-
Step 950
950
#1C214C
oklch(27% 0.079 274.8)
#8798FD 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) | #71A4FF | 0.037 |
| Deuteranopia (no green cones) | #679BFB | 0.037 |
| Tritanopia (no blue cones) | #5BADBE | 0.132 |
| Achromatopsia (no color) | #9F9F9F | 0.148 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8798FD
#8798FD
oklch(71% 0.148 274.8)
- #BF9F00
#BF9F00
oklch(71% 0.146 94.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 #8798FD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.011
- Lavender Blue #8B88F8 ΔE 0.039
- Perrywinkle #8F8CE7 ΔE 0.040
- Cornflower Blue #6495ED ΔE 0.050
- Periwinkle #8E82FE ΔE 0.054
- Soft Blue #6488EA ΔE 0.068
- Chefchaouen Blue #4895EF ΔE 0.072
- Carolina Blue #8AB8FE ΔE 0.084
Use #8798FD 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.