#7998F8
Closest named color: Periwinkle Blue (#8F99FB). oklch(69.9% 0.145 268.9), rgb(121, 152, 248).
Aa
Black text reads best on this color (7.65:1).
About this color
#7998F8 is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.145 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.029 away. Black text reads best on it, at 7.65:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.145) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.65:1 |
| White text | 2.74:1 |
Values
| HEX | #7998F8 |
| RGB | rgb(121, 152, 248) |
| HSL | hsl(225, 90%, 72%) |
| OKLCH | oklch(69.9% 0.145 268.9) |
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 #7998F8 | 2.74:1 | Fails | Lc -58.1 | Large or bold text, headings |
| Black text on #7998F8 | 7.65:1 | AAA | Lc 51.2 | Large or bold text, headings |
| #7998F8 text on white | 2.74:1 | Fails | Lc 52.9 | Large or bold text, headings |
| #7998F8 text on black | 7.65:1 | AAA | Lc -49.0 | 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E2EAFC
oklch(93.6% 0.026 266.6)
-
Step 200
200
#CBD9FC
oklch(88.6% 0.051 268.1)
-
Step 300
300
#A8BFFC
oklch(80.9% 0.09 268.4)
-
Step 400
400 (this color)
#7998F8
oklch(69.9% 0.145 268.9)
-
Step 500
500
#5C7EF8
oklch(63% 0.186 268.9)
-
Step 600
600
#4564E7
oklch(55.7% 0.201 268.8)
-
Step 700
700
#3751C9
oklch(49% 0.188 268.9)
-
Step 800
800
#2E44A3
oklch(42.9% 0.155 268.9)
-
Step 900
900
#283A81
oklch(37.7% 0.122 269.1)
-
Step 950
950
#17234B
oklch(27% 0.076 268.4)
#7998F8 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) | #72A2FC | 0.026 |
| Deuteranopia (no green cones) | #6497F6 | 0.024 |
| Tritanopia (no blue cones) | #3EADBC | 0.131 |
| Achromatopsia (no color) | #9C9C9C | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7998F8
#7998F8
oklch(69.9% 0.145 268.9)
- #C29800
#C29800
oklch(69.9% 0.143 88.8)
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 #7998F8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.029
- Cornflower Blue #6495ED ΔE 0.031
- Perrywinkle #8F8CE7 ΔE 0.042
- Lavender Blue #8B88F8 ΔE 0.044
- Chefchaouen Blue #4895EF ΔE 0.053
- Soft Blue #6488EA ΔE 0.053
- Periwinkle #8E82FE ΔE 0.060
- Dark Sky Blue #448EE4 ΔE 0.070
Use #7998F8 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.