#AFBEF7
Closest named color: Pastel Blue (#A2BFFE). oklch(81% 0.082 273), rgb(175, 190, 247).
Aa
Black text reads best on this color (11.53:1).
About this color
#AFBEF7 is a light, moderately saturated blue. In OKLCH its lightness is 81%, its chroma 0.082 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.018 away. Black text reads best on it, at 11.53:1.
| Hue family | Blues |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.082) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.53:1 |
| White text | 1.82:1 |
Values
| HEX | #AFBEF7 |
| RGB | rgb(175, 190, 247) |
| HSL | hsl(228, 82%, 83%) |
| OKLCH | oklch(81% 0.082 273) |
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 #AFBEF7 | 1.82:1 | Fails | Lc -38.1 | Non-text elements, placeholder text |
| Black text on #AFBEF7 | 11.53:1 | AAA | Lc 69.9 | Content text, not long reading |
| #AFBEF7 text on white | 1.82:1 | Fails | Lc 34.0 | Non-text elements, placeholder text |
| #AFBEF7 text on black | 11.53:1 | AAA | Lc -68.6 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CFD8F8
oklch(88.5% 0.045 273)
-
Step 300
300 (this color)
#AFBEF7
oklch(81% 0.082 273)
-
Step 400
400
#869AF2
oklch(70.8% 0.131 272.9)
-
Step 500
500
#6A7EEE
oklch(63.2% 0.168 273.1)
-
Step 600
600
#5364DC
oklch(55.6% 0.183 272.9)
-
Step 700
700
#4452BF
oklch(49.1% 0.17 272.9)
-
Step 800
800
#38449B
oklch(42.8% 0.141 273)
-
Step 900
900
#303A7B
oklch(37.7% 0.11 273.4)
-
Step 950
950
#1C2348
oklch(27.1% 0.069 272.9)
#AFBEF7 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) | #ADC3FA | 0.013 |
| Deuteranopia (no green cones) | #A7BDF6 | 0.011 |
| Tritanopia (no blue cones) | #9CC9D1 | 0.075 |
| Achromatopsia (no color) | #C0C0C0 | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFBEF7
#AFBEF7
oklch(81% 0.082 273)
- #D3C083
#D3C083
oklch(81% 0.082 92.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 #AFBEF7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.018
- Light Periwinkle #C1C6FC ΔE 0.033
- Baby Blue #A2CFFE ΔE 0.044
- Light Steel Blue #B0C4DE ΔE 0.044
- Cloudy Blue #ACC2D9 ΔE 0.048
- Light Blue Grey #B7C9E2 ΔE 0.050
- Carolina Blue #8AB8FE ΔE 0.051
- Sky #82CAFC ΔE 0.055
Use #AFBEF7 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.