#8A98B2#8A98B2
#8A98B2 is a light, muted blue. Relative luminance 0.311; OKLCH L 67.8% C 0.042 H 262.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A98B2 |
|---|---|
| RGB | rgb(138, 152, 178) |
| HSL | hsl(219, 21%, 62%) |
| HSV | hsv(219, 22%, 70%) |
| CMYK | cmyk(22.5%, 14.6%, 0%, 30.2%) |
| CIE-LAB | lab(62.57, 0.80, -15.19) |
| CIE-LCH | lch(62.57, 15.21, 273.00°) |
| OKLab | oklab(67.75% -0.0052 -0.0414) |
| OKLCH | oklch(67.75% 0.042 262.8) |
| XYZ | xyz(29.7433, 31.0733, 46.5415) |
| Luminance | 0.3107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Grey
#758DA3
ΔE00 6.52
Bluey Grey
#89A0B0
ΔE00 6.94
Lightslategray
#778899
ΔE00 7.40
Cool Gray
#9AA7B0
ΔE00 8.65
Steel
#738595
ΔE00 8.79
Faded Blue
#658CBB
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A98B2 #B2A48A
analogous
#8AACB2 #8A98B2 #908AB2
triadic
#8A98B2 #B28A98 #98B28A
tetradic
#8A98B2 #B28AAC #B2A48A #8AB290
square
#8A98B2 #B28AAC #B2A48A #8AB290
split-complementary
#8A98B2 #B2908A #ACB28A
monochromatic
#4D5B75 #65789A #8A98B2 #AFB8CA #D4D9E3
Accessibility & contrast
On white
2.91
#8A98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#8A98B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A98B2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A98B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A98B2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9099B3
Deuteranopia (green-blind)
#8C96B1
Tritanopia (blue-blind)
#809DA0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #8a98b2; /* rgb */ color: rgb(138, 152, 178); /* oklch */ color: oklch(67.8% 0.042 262.8);
Tailwind
colors: {
custom: {
50: '#acb6c9',
500: '#8a98b2',
950: '#000000',
},
}SCSS
$custom: #8a98b2; $custom-light: #acb6c9; $custom-dark: #000000;
JSON
{
"hex": "#8a98b2",
"rgb": {
"r": 138,
"g": 152,
"b": 178
},
"hsl": {
"h": 219,
"s": 20.619,
"l": 61.961
},
"oklch": {
"l": 0.6775,
"c": 0.04175,
"h": 262.8
},
"luminance": 0.31074
}Semantic roles & 50–950 ramp
primary
#8A98B2
secondary
#D3CEC5
accent
#80479F
background
#FAFBFC
surface
#F4F6F8
border
#CED0D1
text
#101113
muted
#7F8082