#A8AFEF
Closest named color: Pastel Blue (#A2BFFE). oklch(77.2% 0.092 279.2), rgb(168, 175, 239).
Aa
Black text reads best on this color (10.04:1).
About this color
#A8AFEF is a medium-light, moderately saturated blue. In OKLCH its lightness is 77%, its chroma 0.092 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.041 away. Black text reads best on it, at 10.04:1.
| Hue family | Blues |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.092) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.04:1 |
| White text | 2.09:1 |
Values
| HEX | #A8AFEF |
| RGB | rgb(168, 175, 239) |
| HSL | hsl(234, 69%, 80%) |
| OKLCH | oklch(77.2% 0.092 279.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 #A8AFEF | 2.09:1 | Fails | Lc -45.5 | Large or bold text, headings |
| Black text on #A8AFEF | 10.04:1 | AAA | Lc 63.1 | Content text, not long reading |
| #A8AFEF text on white | 2.09:1 | Fails | Lc 40.9 | Non-text elements, placeholder text |
| #A8AFEF text on black | 10.04:1 | AAA | Lc -61.4 | Content text, not long reading |
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 300.
-
Step 50
50
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E6E8FC
oklch(93.5% 0.027 281.3)
-
Step 200
200
#D1D6FB
oklch(88.4% 0.051 279.2)
-
Step 300
300 (this color)
#A8AFEF
oklch(77.2% 0.092 279.2)
-
Step 400
400
#8E95FA
oklch(70.8% 0.147 278.9)
-
Step 500
500
#7576F7
oklch(63% 0.188 279.2)
-
Step 600
600
#605BE6
oklch(55.6% 0.204 279)
-
Step 700
700
#5049C8
oklch(49% 0.19 279.2)
-
Step 800
800
#413DA1
oklch(42.6% 0.157 279.2)
-
Step 900
900
#363680
oklch(37.7% 0.122 278.8)
-
Step 950
950
#20204B
oklch(27% 0.078 279.9)
#A8AFEF 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) | #9CB6F2 | 0.022 |
| Deuteranopia (no green cones) | #98B1ED | 0.021 |
| Tritanopia (no blue cones) | #96BBC5 | 0.082 |
| Achromatopsia (no color) | #B3B3B3 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A8AFEF
#A8AFEF
oklch(77.2% 0.092 279.2)
- #C3B670
#C3B670
oklch(77.1% 0.092 99)
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 #A8AFEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.041
- Carolina Blue #8AB8FE ΔE 0.042
- Pale Violet #CEAEFA ΔE 0.057
- Light Grey Blue #9DBCD4 ΔE 0.062
- Pastel Purple #CAA0FF ΔE 0.067
- Lilac #CEA2FD ΔE 0.067
- Light Cornflower Blue #98C1D9 ΔE 0.068
- Cloudy Blue #ACC2D9 ΔE 0.068
Use #A8AFEF 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.