#8A8FB2#8A8FB2
#8A8FB2 is a light, muted blue. Relative luminance 0.283; OKLCH L 65.8% C 0.052 H 278.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8FB2 |
|---|---|
| RGB | rgb(138, 143, 178) |
| HSL | hsl(233, 21%, 62%) |
| HSV | hsv(233, 22%, 70%) |
| CMYK | cmyk(22.5%, 19.7%, 0%, 30.2%) |
| CIE-LAB | lab(60.12, 5.90, -18.90) |
| CIE-LCH | lch(60.12, 19.80, 287.34°) |
| OKLab | oklab(65.84% 0.0077 -0.0517) |
| OKLCH | oklch(65.84% 0.052 278.5) |
| XYZ | xyz(28.3376, 28.2620, 46.0730) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Grey
#758DA3
ΔE00 10.34
Perrywinkle
#8F8CE7
ΔE00 10.34
Lightslategray
#778899
ΔE00 10.40
Faded Blue
#658CBB
ΔE00 10.91
Lavender
#B39DDB
ΔE00 10.98
Steel
#738595
ΔE00 11.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8FB2 #B2AD8A
analogous
#8AA3B2 #8A8FB2 #998AB2
triadic
#8A8FB2 #B28A8F #8FB28A
tetradic
#8A8FB2 #B28AA3 #B2AD8A #8AB299
square
#8A8FB2 #B28AA3 #B2AD8A #8AB299
split-complementary
#8A8FB2 #B2998A #A3B28A
monochromatic
#4D5275 #656C9A #8A8FB2 #AFB2CA #D4D6E3
Accessibility & contrast
On white
3.16
#8A8FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#8A8FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8FB2
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8FB2 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8692B4
Deuteranopia (green-blind)
#8390B1
Tritanopia (blue-blind)
#81959B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #8a8fb2; /* rgb */ color: rgb(138, 143, 178); /* oklch */ color: oklch(65.8% 0.052 278.5);
Tailwind
colors: {
custom: {
50: '#acafc9',
500: '#8a8fb2',
950: '#000000',
},
}SCSS
$custom: #8a8fb2; $custom-light: #acafc9; $custom-dark: #000000;
JSON
{
"hex": "#8a8fb2",
"rgb": {
"r": 138,
"g": 143,
"b": 178
},
"hsl": {
"h": 232.5,
"s": 20.619,
"l": 61.961
},
"oklch": {
"l": 0.65839,
"c": 0.0523,
"h": 278.5
},
"luminance": 0.28263
}Semantic roles & 50–950 ramp
primary
#8A8FB2
secondary
#D3D1C5
accent
#94479F
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82