#8A9AE2#8A9AE2
#8A9AE2 is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.2% C 0.107 H 273.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9AE2 |
|---|---|
| RGB | rgb(138, 154, 226) |
| HSL | hsl(229, 60%, 71%) |
| HSV | hsv(229, 39%, 89%) |
| CMYK | cmyk(38.9%, 31.9%, 0%, 11.4%) |
| CIE-LAB | lab(64.97, 11.97, -38.29) |
| CIE-LCH | lch(64.97, 40.12, 287.36°) |
| OKLab | oklab(70.23% 0.007 -0.1071) |
| OKLCH | oklch(70.23% 0.107 273.8) |
| XYZ | xyz(35.7602, 34.0039, 76.6159) |
| Luminance | 0.3401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.54
Perrywinkle
#8F8CE7
ΔE00 5.21
Lavender Blue
#8B88F8
ΔE00 6.74
Cornflowerblue
#6495ED
ΔE00 7.47
Soft Blue
#6488EA
ΔE00 7.80
Periwinkle (survey)
#8E82FE
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9AE2 #E2D28A
analogous
#8AC6E2 #8A9AE2 #A68AE2
triadic
#8A9AE2 #E28A9A #9AE28A
tetradic
#8A9AE2 #E28AC6 #E2D28A #8AE2A6
square
#8A9AE2 #E28AC6 #E2D28A #8AE2A6
split-complementary
#8A9AE2 #E2A68A #C6E28A
monochromatic
#304AC2 #5970D6 #8A9AE2 #BBC4EE #E6EAF9
Accessibility & contrast
On white
2.69
#8A9AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#8A9AE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9AE2
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9AE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9AE2 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A1E5
Deuteranopia (green-blind)
#7B9AE0
Tritanopia (blue-blind)
#6FA8B4
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #8a9ae2; /* rgb */ color: rgb(138, 154, 226); /* oklch */ color: oklch(70.2% 0.107 273.8);
Tailwind
colors: {
custom: {
50: '#afb7eb',
500: '#8a9ae2',
950: '#000000',
},
}SCSS
$custom: #8a9ae2; $custom-light: #afb7eb; $custom-dark: #000000;
JSON
{
"hex": "#8a9ae2",
"rgb": {
"r": 138,
"g": 154,
"b": 226
},
"hsl": {
"h": 229.091,
"s": 60.274,
"l": 71.373
},
"oklch": {
"l": 0.70231,
"c": 0.10729,
"h": 273.8
},
"luminance": 0.34005
}Semantic roles & 50–950 ramp
primary
#8A9AE2
secondary
#EFEBD8
accent
#A91EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084