#AFB7FE
Closest named color: Pastel Blue (#A2BFFE). oklch(79.9% 0.101 278.9), rgb(175, 183, 254).
Aa
Black text reads best on this color (11.02:1).
About this color
#AFB7FE is a light, moderately saturated blue. In OKLCH its lightness is 80%, its chroma 0.101 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.025 away. Black text reads best on it, at 11.02:1.
| Hue family | Blues |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.101) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.02:1 |
| White text | 1.90:1 |
Values
| HEX | #AFB7FE |
| RGB | rgb(175, 183, 254) |
| HSL | hsl(234, 98%, 84%) |
| OKLCH | oklch(79.9% 0.101 278.9) |
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 #AFB7FE | 1.90:1 | Fails | Lc -40.5 | Non-text elements, placeholder text |
| Black text on #AFB7FE | 11.02:1 | AAA | Lc 67.6 | Content text, not long reading |
| #AFB7FE text on white | 1.90:1 | Fails | Lc 36.3 | Non-text elements, placeholder text |
| #AFB7FE text on black | 11.02:1 | AAA | Lc -66.2 | 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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FE
oklch(93.5% 0.03 279.6)
-
Step 200
200
#D0D6FF
oklch(88.5% 0.057 278.6)
-
Step 300
300 (this color)
#AFB7FE
oklch(79.9% 0.101 278.9)
-
Step 400
400
#8D94FF
oklch(70.8% 0.155 278.8)
-
Step 500
500
#7474FF
oklch(63.2% 0.201 278.9)
-
Step 600
600
#5F56F1
oklch(55.6% 0.224 278.8)
-
Step 700
700
#4F44D2
oklch(49% 0.209 278.8)
-
Step 800
800
#403AAA
oklch(42.8% 0.173 278.6)
-
Step 900
900
#363386
oklch(37.6% 0.135 279.3)
-
Step 950
950
#1F1F4F
oklch(27% 0.086 279)
#AFB7FE 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) | #A2BFFF | 0.025 |
| Deuteranopia (no green cones) | #9DB9FC | 0.023 |
| Tritanopia (no blue cones) | #9AC4D0 | 0.089 |
| Achromatopsia (no color) | #BCBCBC | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB7FE
#AFB7FE
oklch(79.9% 0.101 278.9)
- #CEBF70
#CEBF70
oklch(80% 0.101 98.8)
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 #AFB7FE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.025
- Carolina Blue #8AB8FE ΔE 0.045
- Pale Violet #CEAEFA ΔE 0.046
- Light Periwinkle #C1C6FC ΔE 0.049
- Light Violet #D6B4FC ΔE 0.054
- Baby Blue #A2CFFE ΔE 0.064
- Lilac #CEA2FD ΔE 0.065
- Light Steel Blue #B0C4DE ΔE 0.066
Use #AFB7FE 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.