#8A9AFE#8A9AFE
#8A9AFE is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.7% C 0.146 H 275.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9AFE |
|---|---|
| RGB | rgb(138, 154, 254) |
| HSL | hsl(232, 98%, 77%) |
| HSV | hsv(232, 46%, 100%) |
| CMYK | cmyk(45.7%, 39.4%, 0%, 0.4%) |
| CIE-LAB | lab(66.27, 19.85, -51.61) |
| CIE-LCH | lch(66.27, 55.30, 291.04°) |
| OKLab | oklab(71.66% 0.0133 -0.1457) |
| OKLCH | oklch(71.66% 0.146 275.2) |
| XYZ | xyz(39.9207, 35.6681, 98.5278) |
| Luminance | 0.3567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.32
Lavender Blue
#8B88F8
ΔE00 5.67
Perrywinkle
#8F8CE7
ΔE00 5.88
Cornflowerblue
#6495ED
ΔE00 7.19
Soft Blue
#6488EA
ΔE00 7.57
Periwinkle (survey)
#8E82FE
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9AFE #FEEE8A
analogous
#8AD4FE #8A9AFE #B48AFE
triadic
#8A9AFE #FE8A9A #9AFE8A
tetradic
#8A9AFE #FE8AD4 #FEEE8A #8AFEB4
square
#8A9AFE #FE8AD4 #FEEE8A #8AFEB4
split-complementary
#8A9AFE #FEB48A #D4FE8A
monochromatic
#1131FD #4D66FD #8A9AFE #C7CEFF #E1E5FF
Accessibility & contrast
On white
2.58
#8A9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#8A9AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9AFE
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9AFE | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#60AFC0
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #8a9afe; /* rgb */ color: rgb(138, 154, 254); /* oklch */ color: oklch(71.7% 0.146 275.2);
Tailwind
colors: {
custom: {
50: '#b1b7ff',
500: '#8a9afe',
950: '#000000',
},
}SCSS
$custom: #8a9afe; $custom-light: #b1b7ff; $custom-dark: #000000;
JSON
{
"hex": "#8a9afe",
"rgb": {
"r": 138,
"g": 154,
"b": 254
},
"hsl": {
"h": 231.724,
"s": 98.305,
"l": 76.863
},
"oklch": {
"l": 0.71658,
"c": 0.14635,
"h": 275.2
},
"luminance": 0.3567
}Semantic roles & 50–950 ramp
primary
#8A9AFE
secondary
#F7F2D4
accent
#C600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086