#7F98EF
Closest named color: Periwinkle Blue (#8F99FB). oklch(69.7% 0.131 270.6), rgb(127, 152, 239).
Aa
Black text reads best on this color (7.64:1).
About this color
#7F98EF is a medium-light, moderately saturated blue. In OKLCH its lightness is 70%, its chroma 0.131 and its hue 271°. 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.64:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.131) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.64:1 |
| White text | 2.74:1 |
Values
| HEX | #7F98EF |
| RGB | rgb(127, 152, 239) |
| HSL | hsl(227, 78%, 72%) |
| OKLCH | oklch(69.7% 0.131 270.6) |
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 #7F98EF | 2.74:1 | Fails | Lc -58.2 | Large or bold text, headings |
| Black text on #7F98EF | 7.64:1 | AAA | Lc 51.0 | Large or bold text, headings |
| #7F98EF text on white | 2.74:1 | Fails | Lc 53.0 | Large or bold text, headings |
| #7F98EF text on black | 7.64:1 | AAA | Lc -48.8 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CDD8F8
oklch(88.4% 0.046 270.4)
-
Step 300
300
#ACBEF6
oklch(80.8% 0.082 270.7)
-
Step 400
400 (this color)
#7F98EF
oklch(69.7% 0.131 270.6)
-
Step 500
500
#647FEE
oklch(63% 0.169 270.6)
-
Step 600
600
#4D66DC
oklch(55.6% 0.182 270.4)
-
Step 700
700
#3F54BF
oklch(49.2% 0.169 270.6)
-
Step 800
800
#34459A
oklch(42.7% 0.14 270.8)
-
Step 900
900
#2C3B7B
oklch(37.7% 0.11 270.4)
-
Step 950
950
#1A2348
oklch(27% 0.07 270.8)
#7F98EF 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) | #77A1F3 | 0.024 |
| Deuteranopia (no green cones) | #6C97ED | 0.023 |
| Tritanopia (no blue cones) | #54AAB8 | 0.117 |
| Achromatopsia (no color) | #9C9C9C | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F98EF
#7F98EF
oklch(69.7% 0.131 270.6)
- #BD9926
#BD9926
oklch(69.7% 0.131 90.1)
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 #7F98EF, 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.033
- Perrywinkle #8F8CE7 ΔE 0.035
- Lavender Blue #8B88F8 ΔE 0.047
- Soft Blue #6488EA ΔE 0.056
- Chefchaouen Blue #4895EF ΔE 0.058
- Periwinkle #8E82FE ΔE 0.065
- Dark Sky Blue #448EE4 ΔE 0.072
Use #7F98EF 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.