#7998FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(70.2% 0.155 269.5), rgb(121, 152, 255).
Aa
Black text reads best on this color (7.74:1).
About this color
#7998FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.155 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.028 away. Black text reads best on it, at 7.74:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.155) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.74:1 |
| White text | 2.71:1 |
Values
| HEX | #7998FF |
| RGB | rgb(121, 152, 255) |
| HSL | hsl(226, 100%, 74%) |
| OKLCH | oklch(70.2% 0.155 269.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 #7998FF | 2.71:1 | Fails | Lc -57.6 | Large or bold text, headings |
| Black text on #7998FF | 7.74:1 | AAA | Lc 51.7 | Large or bold text, headings |
| #7998FF text on white | 2.71:1 | Fails | Lc 52.4 | Large or bold text, headings |
| #7998FF text on black | 7.74:1 | AAA | Lc -49.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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2EAFD
oklch(93.7% 0.027 267.5)
-
Step 200
200
#CBD8FE
oklch(88.5% 0.054 270.4)
-
Step 300
300
#A8BEFF
oklch(80.9% 0.096 269.8)
-
Step 400
400 (this color)
#7998FF
oklch(70.2% 0.155 269.5)
-
Step 500
500
#5B7CFF
oklch(63.1% 0.198 269.4)
-
Step 600
600
#4460EF
oklch(55.5% 0.216 269.4)
-
Step 700
700
#374ED0
oklch(49.1% 0.201 269.5)
-
Step 800
800
#2D41A8
oklch(42.6% 0.166 269.5)
-
Step 900
900
#273985
oklch(37.7% 0.129 269.2)
-
Step 950
950
#17224E
oklch(27% 0.082 269.6)
#7998FF 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) | #6EA3FF | 0.029 |
| Deuteranopia (no green cones) | #5E98FD | 0.029 |
| Tritanopia (no blue cones) | #36AEBF | 0.139 |
| Achromatopsia (no color) | #9D9D9D | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7998FF
#7998FF
oklch(70.2% 0.155 269.5)
- #C29900
#C29900
oklch(70.1% 0.143 89.4)
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 #7998FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.028
- Cornflower Blue #6495ED ΔE 0.037
- Lavender Blue #8B88F8 ΔE 0.043
- Perrywinkle #8F8CE7 ΔE 0.047
- Chefchaouen Blue #4895EF ΔE 0.057
- Soft Blue #6488EA ΔE 0.057
- Periwinkle #8E82FE ΔE 0.057
- Dark Sky Blue #448EE4 ΔE 0.074
Use #7998FF 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.