#8A9CD9#8A9CD9
#8A9CD9 is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.2% C 0.092 H 271.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9CD9 |
|---|---|
| RGB | rgb(138, 156, 217) |
| HSL | hsl(226, 51%, 70%) |
| HSV | hsv(226, 36%, 85%) |
| CMYK | cmyk(36.4%, 28.1%, 0%, 14.9%) |
| CIE-LAB | lab(65.11, 8.39, -33.09) |
| CIE-LCH | lch(65.11, 34.13, 284.22°) |
| OKLab | oklab(70.22% 0.002 -0.0921) |
| OKLCH | oklch(70.22% 0.092 271.3) |
| XYZ | xyz(34.8904, 34.1885, 70.3928) |
| Luminance | 0.3419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.90
Perrywinkle
#8F8CE7
ΔE00 6.22
Cornflowerblue
#6495ED
ΔE00 7.73
Lavender Blue
#8B88F8
ΔE00 7.96
Soft Blue
#6488EA
ΔE00 8.45
Faded Blue
#658CBB
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9CD9 #D9C78A
analogous
#8AC4D9 #8A9CD9 #A08AD9
triadic
#8A9CD9 #D98A9C #9CD98A
tetradic
#8A9CD9 #D98AC4 #D9C78A #8AD9A0
square
#8A9CD9 #D98AC4 #D9C78A #8AD9A0
split-complementary
#8A9CD9 #D9A08A #C4D98A
monochromatic
#3954B0 #5C75CA #8A9CD9 #B8C3E8 #E6EAF7
Accessibility & contrast
On white
2.68
#8A9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#8A9CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9CD9
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9CD9 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88A2DC
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#72A8B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #8a9cd9; /* rgb */ color: rgb(138, 156, 217); /* oklch */ color: oklch(70.2% 0.092 271.3);
Tailwind
colors: {
custom: {
50: '#aeb9e5',
500: '#8a9cd9',
950: '#000000',
},
}SCSS
$custom: #8a9cd9; $custom-light: #aeb9e5; $custom-dark: #000000;
JSON
{
"hex": "#8a9cd9",
"rgb": {
"r": 138,
"g": 156,
"b": 217
},
"hsl": {
"h": 226.329,
"s": 50.968,
"l": 69.608
},
"oklch": {
"l": 0.70219,
"c": 0.09209,
"h": 271.3
},
"luminance": 0.3419
}Semantic roles & 50–950 ramp
primary
#8A9CD9
secondary
#EBE6D4
accent
#9C27BE
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101115
muted
#7F8084