#8FA1EB#8FA1EB
#8FA1EB is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.4% C 0.110 H 272.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8FA1EB |
|---|---|
| RGB | rgb(143, 161, 235) |
| HSL | hsl(228, 70%, 74%) |
| HSV | hsv(228, 39%, 92%) |
| CMYK | cmyk(39.1%, 31.5%, 0%, 7.8%) |
| CIE-LAB | lab(67.52, 11.74, -39.23) |
| CIE-LCH | lch(67.52, 40.95, 286.67°) |
| OKLab | oklab(72.42% 0.0056 -0.1097) |
| OKLCH | oklch(72.42% 0.11 272.9) |
| XYZ | xyz(39.0635, 37.3258, 83.7275) |
| Luminance | 0.3733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.45
Perrywinkle
#8F8CE7
ΔE00 6.74
Cornflowerblue
#6495ED
ΔE00 7.87
Lavender Blue
#8B88F8
ΔE00 7.91
Pastel Blue
#A2BFFE
ΔE00 7.94
Carolina Blue
#8AB8FE
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8FA1EB #EBD98F
analogous
#8FCFEB #8FA1EB #AB8FEB
triadic
#8FA1EB #EB8FA1 #A1EB8F
tetradic
#8FA1EB #EB8FCF #EBD98F #8FEBAB
square
#8FA1EB #EB8FCF #EBD98F #8FEBAB
split-complementary
#8FA1EB #EBAB8F #CFEB8F
monochromatic
#274AD8 #5B75E2 #8FA1EB #C3CDF4 #E5E9FA
Accessibility & contrast
On white
2.48
#8FA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#8FA1EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8FA1EB
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8FA1EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8FA1EB | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88A8EE
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#72B0BC
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #8fa1eb; /* rgb */ color: rgb(143, 161, 235); /* oklch */ color: oklch(72.4% 0.110 272.9);
Tailwind
colors: {
custom: {
50: '#b3bcf1',
500: '#8fa1eb',
950: '#000000',
},
}SCSS
$custom: #8fa1eb; $custom-light: #b3bcf1; $custom-dark: #000000;
JSON
{
"hex": "#8fa1eb",
"rgb": {
"r": 143,
"g": 161,
"b": 235
},
"hsl": {
"h": 228.261,
"s": 69.697,
"l": 74.118
},
"oklch": {
"l": 0.72422,
"c": 0.10981,
"h": 272.9
},
"luminance": 0.37328
}Semantic roles & 50–950 ramp
primary
#8FA1EB
secondary
#F2EDD9
accent
#AD14D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185