#7FA1FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(72.4% 0.142 267.7), rgb(127, 161, 255).
Aa
Black text reads best on this color (8.44:1).
About this color
#7FA1FF is a medium-light, vivid blue. In OKLCH its lightness is 72%, its chroma 0.142 and its hue 268°. 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 8.44:1.
| Hue family | Blues |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.142) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 8.44:1 |
| White text | 2.48:1 |
Values
| HEX | #7FA1FF |
| RGB | rgb(127, 161, 255) |
| HSL | hsl(224, 100%, 75%) |
| OKLCH | oklch(72.4% 0.142 267.7) |
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 #7FA1FF | 2.48:1 | Fails | Lc -53.8 | Large or bold text, headings |
| Black text on #7FA1FF | 8.44:1 | AAA | Lc 55.3 | Large or bold text, headings |
| #7FA1FF text on white | 2.48:1 | Fails | Lc 48.7 | Large or bold text, headings |
| #7FA1FF text on black | 8.44:1 | AAA | Lc -53.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
#E2EAFC
oklch(93.6% 0.026 266.6)
-
Step 200
200
#CBD9FB
oklch(88.6% 0.049 267.7)
-
Step 300
300
#A8BFFB
oklch(80.9% 0.089 268.2)
-
Step 400
400 (this color)
#7FA1FF
oklch(72.4% 0.142 267.7)
-
Step 500
500
#5A7FF6
oklch(63% 0.182 267.9)
-
Step 600
600
#4265E5
oklch(55.6% 0.198 267.8)
-
Step 700
700
#3453C7
oklch(49.1% 0.184 267.6)
-
Step 800
800
#2B45A1
oklch(42.7% 0.152 267.5)
-
Step 900
900
#263B80
oklch(37.7% 0.119 267.6)
-
Step 950
950
#16234B
oklch(26.9% 0.076 267.6)
#7FA1FF 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) | #7CAAFF | 0.023 |
| Deuteranopia (no green cones) | #6E9FFD | 0.021 |
| Tritanopia (no blue cones) | #45B5C4 | 0.127 |
| Achromatopsia (no color) | #A4A4A4 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7FA1FF
#7FA1FF
oklch(72.4% 0.142 267.7)
- #CB9F1A
#CB9F1A
oklch(72.3% 0.142 87.7)
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 #7FA1FF, 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.052
- Perrywinkle #8F8CE7 ΔE 0.059
- Lavender Blue #8B88F8 ΔE 0.062
- Carolina Blue #8AB8FE ΔE 0.064
- Chefchaouen Blue #4895EF ΔE 0.071
- Periwinkle #8E82FE ΔE 0.077
- Soft Blue #6488EA ΔE 0.079
Use #7FA1FF 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.