#8A8AA2#8A8AA2

#8A8AA2 is a light, muted blue. Relative luminance 0.262; OKLCH L 64.2% C 0.036 H 285.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A8AA2
RGBrgb(138, 138, 162)
HSLhsl(240, 11%, 59%)
HSVhsv(240, 15%, 64%)
CMYKcmyk(14.8%, 14.8%, 0%, 36.5%)
CIE-LABlab(58.22, 5.05, -12.68)
CIE-LCHlch(58.22, 13.65, 291.74°)
OKLaboklab(64.17% 0.0094 -0.0343)
OKLCHoklch(64.17% 0.036 285.4)
XYZxyz(26.0899, 26.1886, 37.8558)
Luminance0.2619 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AA2 #A2A28A
analogous
#8A96A2 #8A8AA2 #968AA2
triadic
#8A8AA2 #A28A8A #8AA28A
tetradic
#8A8AA2 #A28A96 #A2A28A #8AA296
square
#8A8AA2 #A28A96 #A2A28A #8AA296
split-complementary
#8A8AA2 #A2968A #96A28A
monochromatic
#4F4F63 #6A6A85 #8A8AA2 #ACACBD #CECED8

Accessibility & contrast

On white

3.37
#8A8AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8A8AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AA2#FFFFFF#000000##000000
##8A8AA21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#848DA3
Deuteranopia (green-blind)
#848BA1
Tritanopia (blue-blind)
#858E92
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a8aa2;
/* rgb */ color: rgb(138, 138, 162);
/* oklch */ color: oklch(64.2% 0.036 285.4);
Tailwind
colors: {
  custom: {
    50: '#acacbd',
    500: '#8a8aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aa2;
$custom-light: #acacbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aa2",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 11.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64165,
    "c": 0.03562,
    "h": 285.4
  },
  "luminance": 0.26189
}

Semantic roles & 50–950 ramp

primary
#8A8AA2
secondary
#C9C9BF
accent
#B473B4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8AA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A8AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva