#87AFEF#87AFEF
#87AFEF is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.0% C 0.103 H 259.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #87AFEF |
|---|---|
| RGB | rgb(135, 175, 239) |
| HSL | hsl(217, 76%, 73%) |
| HSV | hsv(217, 44%, 94%) |
| CMYK | cmyk(43.5%, 26.8%, 0%, 6.3%) |
| CIE-LAB | lab(70.90, 2.91, -36.19) |
| CIE-LCH | lch(70.90, 36.31, 274.60°) |
| OKLab | oklab(74.98% -0.0186 -0.101) |
| OKLCH | oklch(74.98% 0.103 259.6) |
| XYZ | xyz(40.8966, 42.0404, 87.6043) |
| Luminance | 0.4204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Carolina Blue
#8AB8FE
ΔE00 2.75
Pastel Blue
#A2BFFE
ΔE00 5.36
Sky Blue (survey)
#75BBFD
ΔE00 6.17
Cornflowerblue
#6495ED
ΔE00 7.68
Periwinkle Blue
#8F99FB
ΔE00 8.06
Baby Blue (survey)
#A2CFFE
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87AFEF #EFC787
analogous
#87E3EF #87AFEF #9387EF
triadic
#87AFEF #EF87AF #AFEF87
tetradic
#87AFEF #EF87E3 #EFC787 #87EF93
square
#87AFEF #EF87E3 #EFC787 #87EF93
split-complementary
#87AFEF #EF9387 #E3EF87
monochromatic
#1E68DE #518BE8 #87AFEF #BDD3F6 #E4EDFB
Accessibility & contrast
On white
2.23
#87AFEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#87AFEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #87AFEF
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87AFEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87AFEF | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B3F2
Deuteranopia (green-blind)
#8CA9EE
Tritanopia (blue-blind)
#60BDC5
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #87afef; /* rgb */ color: rgb(135, 175, 239); /* oklch */ color: oklch(75.0% 0.103 259.6);
Tailwind
colors: {
custom: {
50: '#aec6f4',
500: '#87afef',
950: '#000000',
},
}SCSS
$custom: #87afef; $custom-light: #aec6f4; $custom-dark: #000000;
JSON
{
"hex": "#87afef",
"rgb": {
"r": 135,
"g": 175,
"b": 239
},
"hsl": {
"h": 216.923,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.74978,
"c": 0.10272,
"h": 259.6
},
"luminance": 0.42043
}Semantic roles & 50–950 ramp
primary
#87AFEF
secondary
#F3E9D8
accent
#8A0DD9
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111317
muted
#808285