#8197EC
Closest named color: Periwinkle Blue (#8F99FB). oklch(69.5% 0.128 271.7), rgb(129, 151, 236).
Aa
Black text reads best on this color (7.57:1).
About this color
#8197EC is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.128 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.030 away. Black text reads best on it, at 7.57:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.128) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.57:1 |
| White text | 2.77:1 |
Values
| HEX | #8197EC |
| RGB | rgb(129, 151, 236) |
| HSL | hsl(228, 74%, 72%) |
| OKLCH | oklch(69.5% 0.128 271.7) |
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 #8197EC | 2.77:1 | Fails | Lc -58.6 | Large or bold text, headings |
| Black text on #8197EC | 7.57:1 | AAA | Lc 50.6 | Large or bold text, headings |
| #8197EC text on white | 2.77:1 | Fails | Lc 53.4 | Large or bold text, headings |
| #8197EC text on black | 7.57:1 | AAA | Lc -48.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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CED8F7
oklch(88.4% 0.044 271.3)
-
Step 300
300
#AEBEF5
oklch(80.9% 0.08 271.9)
-
Step 400
400 (this color)
#8197EC
oklch(69.5% 0.128 271.7)
-
Step 500
500
#687FEB
oklch(63.1% 0.163 271.9)
-
Step 600
600
#5166D9
oklch(55.6% 0.177 271.7)
-
Step 700
700
#4254BC
oklch(49.1% 0.164 271.6)
-
Step 800
800
#364598
oklch(42.6% 0.136 271.7)
-
Step 900
900
#2E3B79
oklch(37.6% 0.106 271.5)
-
Step 950
950
#1B2347
oklch(27% 0.068 271.8)
#8197EC 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) | #78A0EF | 0.024 |
| Deuteranopia (no green cones) | #6E97EA | 0.023 |
| Tritanopia (no blue cones) | #5AA9B6 | 0.115 |
| Achromatopsia (no color) | #9B9B9B | 0.128 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8197EC
#8197EC
oklch(69.5% 0.128 271.7)
- #BA9A2C
#BA9A2C
oklch(69.6% 0.128 91.9)
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 #8197EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.030
- Perrywinkle #8F8CE7 ΔE 0.031
- Cornflower Blue #6495ED ΔE 0.035
- Lavender Blue #8B88F8 ΔE 0.046
- Soft Blue #6488EA ΔE 0.056
- Chefchaouen Blue #4895EF ΔE 0.060
- Periwinkle #8E82FE ΔE 0.064
- Dark Sky Blue #448EE4 ΔE 0.073
Use #8197EC 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.