#A5A8EA#A5A8EA
#A5A8EA is a light, moderate blue. Relative luminance 0.419; OKLCH L 75.4% C 0.095 H 281.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A8EA |
|---|---|
| RGB | rgb(165, 168, 234) |
| HSL | hsl(237, 62%, 78%) |
| HSV | hsv(237, 29%, 92%) |
| CMYK | cmyk(29.5%, 28.2%, 0%, 8.2%) |
| CIE-LAB | lab(70.83, 13.59, -33.42) |
| CIE-LCH | lch(70.83, 36.07, 292.12°) |
| OKLab | oklab(75.36% 0.0194 -0.0926) |
| OKLCH | oklch(75.36% 0.095 281.9) |
| XYZ | xyz(44.3670, 41.9439, 83.5844) |
| Luminance | 0.4194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 6.88
Lavender
#B39DDB
ΔE00 7.18
Light Periwinkle
#C1C6FC
ΔE00 7.86
Pastel Blue
#A2BFFE
ΔE00 8.23
Perrywinkle
#8F8CE7
ΔE00 8.35
Pale Violet
#CEAEFA
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A8EA #EAE7A5
analogous
#A5CAEA #A5A8EA #C4A5EA
triadic
#A5A8EA #EAA5A8 #A8EAA5
tetradic
#A5A8EA #EAA5CA #EAE7A5 #A5EAC4
square
#A5A8EA #EAA5CA #EAE7A5 #A5EAC4
split-complementary
#A5A8EA #EAC4A5 #CAEAA5
monochromatic
#4248D3 #7378DE #A5A8EA #D7D8F6 #E6E7F9
Accessibility & contrast
On white
2.24
#A5A8EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.39
#A5A8EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A8EA
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A8EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A8EA | 1.00 | 2.24 | 9.39 | 9.39 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#94B4BF
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5a8ea; /* rgb */ color: rgb(165, 168, 234); /* oklch */ color: oklch(75.4% 0.095 281.9);
Tailwind
colors: {
custom: {
50: '#c1c1f1',
500: '#a5a8ea',
950: '#000000',
},
}SCSS
$custom: #a5a8ea; $custom-light: #c1c1f1; $custom-dark: #000000;
JSON
{
"hex": "#a5a8ea",
"rgb": {
"r": 165,
"g": 168,
"b": 234
},
"hsl": {
"h": 237.391,
"s": 62.162,
"l": 78.235
},
"oklch": {
"l": 0.75363,
"c": 0.09462,
"h": 281.9
},
"luminance": 0.41945
}Semantic roles & 50–950 ramp
primary
#A5A8EA
secondary
#F1F0DA
accent
#C21CCA
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184