#AFB8EC
Closest named color: Pastel Blue (#A2BFFE). oklch(79.4% 0.075 276.9), rgb(175, 184, 236).
Aa
Black text reads best on this color (10.89:1).
About this color
#AFB8EC is a light, moderately saturated blue. In OKLCH its lightness is 79%, its chroma 0.075 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.030 away. Black text reads best on it, at 10.89:1.
| Hue family | Blues |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.075) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.89:1 |
| White text | 1.92:1 |
Values
| HEX | #AFB8EC |
| RGB | rgb(175, 184, 236) |
| HSL | hsl(231, 62%, 81%) |
| OKLCH | oklch(79.4% 0.075 276.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 #AFB8EC | 1.92:1 | Fails | Lc -41.2 | Non-text elements, placeholder text |
| Black text on #AFB8EC | 10.89:1 | AAA | Lc 67.0 | Content text, not long reading |
| #AFB8EC text on white | 1.92:1 | Fails | Lc 36.9 | Non-text elements, placeholder text |
| #AFB8EC text on black | 10.89:1 | AAA | Lc -65.5 | 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E6E9F9
oklch(93.6% 0.022 277.5)
-
Step 200
200
#D2D7F5
oklch(88.5% 0.042 278)
-
Step 300
300 (this color)
#AFB8EC
oklch(79.4% 0.075 276.9)
-
Step 400
400
#8E99EA
oklch(70.7% 0.119 277)
-
Step 500
500
#747DE4
oklch(63.1% 0.153 277.3)
-
Step 600
600
#5E64D2
oklch(55.6% 0.166 277.2)
-
Step 700
700
#4D53B6
oklch(49.2% 0.154 276.5)
-
Step 800
800
#3F4493
oklch(42.7% 0.128 276.8)
-
Step 900
900
#353A75
oklch(37.6% 0.1 276.8)
-
Step 950
950
#1F2345
oklch(27.1% 0.063 276.3)
#AFB8EC 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) | #A9BDEE | 0.014 |
| Deuteranopia (no green cones) | #A5B8EB | 0.013 |
| Tritanopia (no blue cones) | #A0C1CA | 0.065 |
| Achromatopsia (no color) | #BBBBBB | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB8EC
#AFB8EC
oklch(79.4% 0.075 276.9)
- #C9BC85
#C9BC85
oklch(79.3% 0.074 96.4)
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 #AFB8EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.030
- Light Steel Blue #B0C4DE ΔE 0.043
- Cloudy Blue #ACC2D9 ΔE 0.044
- Light Grey Blue #9DBCD4 ΔE 0.047
- Light Periwinkle #C1C6FC ΔE 0.048
- Carolina Blue #8AB8FE ΔE 0.050
- Light Cornflower Blue #98C1D9 ΔE 0.051
- Light Blue Grey #B7C9E2 ΔE 0.054
Use #AFB8EC 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.