#8A8FAC#8A8FAC
#8A8FAC is a light, muted blue. Relative luminance 0.280; OKLCH L 65.6% C 0.043 H 277.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8FAC |
|---|---|
| RGB | rgb(138, 143, 172) |
| HSL | hsl(231, 17%, 61%) |
| HSV | hsv(231, 20%, 67%) |
| CMYK | cmyk(19.8%, 16.9%, 0%, 32.5%) |
| CIE-LAB | lab(59.91, 4.48, -15.82) |
| CIE-LCH | lch(59.91, 16.44, 285.83°) |
| OKLab | oklab(65.6% 0.0056 -0.0431) |
| OKLCH | oklch(65.6% 0.043 277.4) |
| XYZ | xyz(27.7483, 28.0263, 42.9694) |
| Luminance | 0.2803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightslategray
#778899
ΔE00 9.16
Blue Grey
#758DA3
ΔE00 9.46
Steel
#738595
ΔE00 10.33
Slate Gray
#708090
ΔE00 10.67
Faded Blue
#658CBB
ΔE00 11.25
Purpley Grey
#947E94
ΔE00 11.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8FAC #ACA78A
analogous
#8AA0AC #8A8FAC #968AAC
triadic
#8A8FAC #AC8A8F #8FAC8A
tetradic
#8A8FAC #AC8AA0 #ACA78A #8AAC96
square
#8A8FAC #AC8AA0 #ACA78A #8AAC96
split-complementary
#8A8FAC #AC968A #A0AC8A
monochromatic
#4E536E #676D92 #8A8FAC #AEB1C5 #D2D4DF
Accessibility & contrast
On white
3.18
#8A8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#8A8FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8FAC
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8FAC | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8792AD
Deuteranopia (green-blind)
#858FAB
Tritanopia (blue-blind)
#829499
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8a8fac; /* rgb */ color: rgb(138, 143, 172); /* oklch */ color: oklch(65.6% 0.043 277.4);
Tailwind
colors: {
custom: {
50: '#acafc4',
500: '#8a8fac',
950: '#000000',
},
}SCSS
$custom: #8a8fac; $custom-light: #acafc4; $custom-dark: #000000;
JSON
{
"hex": "#8a8fac",
"rgb": {
"r": 138,
"g": 143,
"b": 172
},
"hsl": {
"h": 231.176,
"s": 17,
"l": 60.784
},
"oklch": {
"l": 0.65603,
"c": 0.04347,
"h": 277.4
},
"luminance": 0.28027
}Semantic roles & 50–950 ramp
primary
#8A8FAC
secondary
#CFCDC2
accent
#8F4A9B
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81