#8A9CE2#8A9CE2
#8A9CE2 is a light, moderate blue. Relative luminance 0.347; OKLCH L 70.6% C 0.105 H 272.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9CE2 |
|---|---|
| RGB | rgb(138, 156, 226) |
| HSL | hsl(228, 60%, 71%) |
| HSV | hsv(228, 39%, 89%) |
| CMYK | cmyk(38.9%, 31%, 0%, 11.4%) |
| CIE-LAB | lab(65.49, 10.82, -37.47) |
| CIE-LCH | lch(65.49, 39.01, 286.11°) |
| OKLab | oklab(70.64% 0.0045 -0.1047) |
| OKLCH | oklch(70.64% 0.105 272.5) |
| XYZ | xyz(36.0931, 34.6696, 76.7269) |
| Luminance | 0.3467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.73
Perrywinkle
#8F8CE7
ΔE00 5.85
Cornflowerblue
#6495ED
ΔE00 7.27
Lavender Blue
#8B88F8
ΔE00 7.28
Soft Blue
#6488EA
ΔE00 7.99
Faded Blue
#658CBB
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9CE2 #E2D08A
analogous
#8AC8E2 #8A9CE2 #A48AE2
triadic
#8A9CE2 #E28A9C #9CE28A
tetradic
#8A9CE2 #E28AC8 #E2D08A #8AE2A4
square
#8A9CE2 #E28AC8 #E2D08A #8AE2A4
split-complementary
#8A9CE2 #E2A48A #C8E28A
monochromatic
#304EC2 #5973D6 #8A9CE2 #BBC6EE #E6EAF9
Accessibility & contrast
On white
2.65
#8A9CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#8A9CE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A9CE2
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9CE2 | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#7D9CE0
Tritanopia (blue-blind)
#6FAAB5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #8a9ce2; /* rgb */ color: rgb(138, 156, 226); /* oklch */ color: oklch(70.6% 0.105 272.5);
Tailwind
colors: {
custom: {
50: '#afb9eb',
500: '#8a9ce2',
950: '#000000',
},
}SCSS
$custom: #8a9ce2; $custom-light: #afb9eb; $custom-dark: #000000;
JSON
{
"hex": "#8a9ce2",
"rgb": {
"r": 138,
"g": 156,
"b": 226
},
"hsl": {
"h": 227.727,
"s": 60.274,
"l": 71.373
},
"oklch": {
"l": 0.70637,
"c": 0.1048,
"h": 272.5
},
"luminance": 0.34671
}Semantic roles & 50–950 ramp
primary
#8A9CE2
secondary
#EFEBD8
accent
#A51EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084