#7F9AFA
Closest named color: Periwinkle Blue (#8F99FB). oklch(70.7% 0.144 270.5), rgb(127, 154, 250).
Aa
Black text reads best on this color (7.90:1).
About this color
#7F9AFA is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.144 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.020 away. Black text reads best on it, at 7.90:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 7.90:1 |
| White text | 2.65:1 |
Values
| HEX | #7F9AFA |
| RGB | rgb(127, 154, 250) |
| HSL | hsl(227, 92%, 74%) |
| OKLCH | oklch(70.7% 0.144 270.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 #7F9AFA | 2.65:1 | Fails | Lc -56.7 | Large or bold text, headings |
| Black text on #7F9AFA | 7.90:1 | AAA | Lc 52.5 | Large or bold text, headings |
| #7F9AFA text on white | 2.65:1 | Fails | Lc 51.6 | Large or bold text, headings |
| #7F9AFA text on black | 7.90:1 | AAA | Lc -50.3 | 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
#E3E9FC
oklch(93.5% 0.027 271.9)
-
Step 200
200
#CCD8FB
oklch(88.4% 0.05 270.4)
-
Step 300
300
#AABEFC
oklch(80.9% 0.091 270.5)
-
Step 400
400 (this color)
#7F9AFA
oklch(70.7% 0.144 270.5)
-
Step 500
500
#617DF7
oklch(63.1% 0.184 270.6)
-
Step 600
600
#4A63E6
oklch(55.7% 0.2 270.4)
-
Step 700
700
#3C51C8
oklch(49.2% 0.186 270.4)
-
Step 800
800
#3143A2
oklch(42.7% 0.154 270.4)
-
Step 900
900
#2B3A80
oklch(37.8% 0.119 270.6)
-
Step 950
950
#19224B
oklch(26.9% 0.077 271.1)
#7F9AFA 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) | #75A4FE | 0.026 |
| Deuteranopia (no green cones) | #689AF8 | 0.026 |
| Tritanopia (no blue cones) | #4BAEBE | 0.128 |
| Achromatopsia (no color) | #9F9F9F | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F9AFA
#7F9AFA
oklch(70.7% 0.144 270.5)
- #C39C04
#C39C04
oklch(70.8% 0.144 90.6)
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 #7F9AFA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.020
- Cornflower Blue #6495ED ΔE 0.040
- Perrywinkle #8F8CE7 ΔE 0.043
- Lavender Blue #8B88F8 ΔE 0.046
- Periwinkle #8E82FE ΔE 0.062
- Chefchaouen Blue #4895EF ΔE 0.062
- Soft Blue #6488EA ΔE 0.063
- Dark Sky Blue #448EE4 ΔE 0.079
Use #7F9AFA 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.