#8CA7FF
Closest named color: Periwinkle Blue (#8F99FB). oklch(74.4% 0.131 270), rgb(140, 167, 255).
Aa
Black text reads best on this color (9.08:1).
About this color
#8CA7FF is a medium-light, moderately saturated blue. In OKLCH its lightness is 74%, its chroma 0.131 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle Blue (#8F99FB), ΔE 0.035 away. Black text reads best on it, at 9.08:1.
| Hue family | Blues |
| Lightness | medium-light (74%) |
| Chroma | moderately saturated (0.131) |
| Temperature | cool |
| Nearest name | Periwinkle Blue (#8F99FB) |
| Black text | 9.08:1 |
| White text | 2.31:1 |
Values
| HEX | #8CA7FF |
| RGB | rgb(140, 167, 255) |
| HSL | hsl(226, 100%, 77%) |
| OKLCH | oklch(74.4% 0.131 270) |
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 #8CA7FF | 2.31:1 | Fails | Lc -50.4 | Large or bold text, headings |
| Black text on #8CA7FF | 9.08:1 | AAA | Lc 58.5 | Large or bold text, headings |
| #8CA7FF text on white | 2.31:1 | Fails | Lc 45.5 | Large or bold text, headings |
| #8CA7FF text on black | 9.08:1 | AAA | Lc -56.6 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFA
oklch(93.6% 0.023 266.9)
-
Step 200
200
#CDD8F8
oklch(88.4% 0.046 270.4)
-
Step 300
300
#ACBFF6
oklch(81% 0.081 269.7)
-
Step 400
400 (this color)
#8CA7FF
oklch(74.4% 0.131 270)
-
Step 500
500
#6380EE
oklch(63.2% 0.168 270)
-
Step 600
600
#4C66DC
oklch(55.6% 0.182 270.1)
-
Step 700
700
#3D54BF
oklch(49.1% 0.169 269.9)
-
Step 800
800
#33459A
oklch(42.6% 0.14 270.4)
-
Step 900
900
#2C3B7B
oklch(37.7% 0.11 270.4)
-
Step 950
950
#1A2348
oklch(27% 0.07 270.8)
#8CA7FF 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) | #87B0FF | 0.024 |
| Deuteranopia (no green cones) | #7CA6FD | 0.020 |
| Tritanopia (no blue cones) | #61B9C7 | 0.117 |
| Achromatopsia (no color) | #AAAAAA | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8CA7FF
#8CA7FF
oklch(74.4% 0.131 270)
- #CCA83A
#CCA83A
oklch(74.5% 0.131 90.3)
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 #8CA7FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle Blue #8F99FB ΔE 0.035
- Carolina Blue #8AB8FE ΔE 0.045
- Perrywinkle #8F8CE7 ΔE 0.071
- Pastel Blue #A2BFFE ΔE 0.072
- Cornflower Blue #6495ED ΔE 0.073
- Lavender Blue #8B88F8 ΔE 0.078
- Pastel Purple #CAA0FF ΔE 0.086
- Baby Purple #CA9BF7 ΔE 0.088
Use #8CA7FF 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.