#7B98FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(70.4% 0.154 270.2), rgb(123, 152, 255).
Aa
Black text reads best on this color (7.77:1).
About this color
#7B98FF is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.154 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.026 away. Black text reads best on it, at 7.77:1.
| Hue family | Blues |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.154) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.77:1 |
| White text | 2.70:1 |
Values
| HEX | #7B98FF |
| RGB | rgb(123, 152, 255) |
| HSL | hsl(227, 100%, 74%) |
| OKLCH | oklch(70.4% 0.154 270.2) |
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 #7B98FF | 2.70:1 | Fails | Lc -57.4 | Large or bold text, headings |
| Black text on #7B98FF | 7.77:1 | AAA | Lc 51.8 | Large or bold text, headings |
| #7B98FF text on white | 2.70:1 | Fails | Lc 52.2 | Large or bold text, headings |
| #7B98FF text on black | 7.77:1 | AAA | Lc -49.7 | 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
#E2E9FD
oklch(93.5% 0.028 270.4)
-
Step 200
200
#CBD8FE
oklch(88.5% 0.054 270.4)
-
Step 300
300
#A9BEFF
oklch(80.9% 0.095 270.4)
-
Step 400
400 (this color)
#7B98FF
oklch(70.4% 0.154 270.2)
-
Step 500
500
#5E7BFF
oklch(63.1% 0.198 270.4)
-
Step 600
600
#4760EE
oklch(55.6% 0.214 270.2)
-
Step 700
700
#394ECF
oklch(49.1% 0.199 270.1)
-
Step 800
800
#2F41A7
oklch(42.7% 0.164 270.2)
-
Step 900
900
#293985
oklch(37.8% 0.129 270.2)
-
Step 950
950
#18224E
oklch(27.1% 0.082 270.4)
#7B98FF 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) | #6EA4FF | 0.032 |
| Deuteranopia (no green cones) | #5F98FD | 0.031 |
| Tritanopia (no blue cones) | #3CAEBF | 0.138 |
| Achromatopsia (no color) | #9D9D9D | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B98FF
#7B98FF
oklch(70.4% 0.154 270.2)
- #C29A00
#C29A00
oklch(70.3% 0.144 90)
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 #7B98FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.026
- Cornflower Blue #6495ED ΔE 0.039
- Lavender Blue #8B88F8 ΔE 0.042
- Perrywinkle #8F8CE7 ΔE 0.046
- Periwinkle #8E82FE ΔE 0.057
- Soft Blue #6488EA ΔE 0.058
- Chefchaouen Blue #4895EF ΔE 0.059
- Dark Sky Blue #448EE4 ΔE 0.076
Use #7B98FF 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.