#8A8A9A#8A8A9A

#8A8A9A is a light, muted grey. Relative luminance 0.259; OKLCH L 63.9% C 0.024 H 285.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A8A9A
RGBrgb(138, 138, 154)
HSLhsl(240, 7%, 57%)
HSVhsv(240, 10%, 60%)
CMYKcmyk(10.4%, 10.4%, 0%, 39.6%)
CIE-LABlab(57.95, 3.29, -8.48)
CIE-LCHlch(57.95, 9.10, 291.23°)
OKLaboklab(63.88% 0.0064 -0.0228)
OKLCHoklch(63.88% 0.024 285.7)
XYZxyz(25.4013, 25.9132, 34.2291)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A9A #9A9A8A
analogous
#8A929A #8A8A9A #928A9A
triadic
#8A8A9A #9A8A8A #8A9A8A
tetradic
#8A8A9A #9A8A92 #9A9A8A #8A9A92
square
#8A8A9A #9A8A92 #9A9A8A #8A9A92
split-complementary
#8A8A9A #9A928A #929A8A
monochromatic
#4F4F5B #6B6B7C #8A8A9A #ABABB6 #CCCCD3

Accessibility & contrast

On white

3.40
#8A8A9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8A8A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A9A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A9A#FFFFFF#000000##000000
##8A8A9A1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868C9B
Deuteranopia (green-blind)
#868B9A
Tritanopia (blue-blind)
#878D8F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a8a9a;
/* rgb */ color: rgb(138, 138, 154);
/* oklch */ color: oklch(63.9% 0.024 285.7);
Tailwind
colors: {
  custom: {
    50: '#acacb7',
    500: '#8a8a9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a9a;
$custom-light: #acacb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a9a",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 7.339,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63875,
    "c": 0.02372,
    "h": 285.7
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#8A8A9A
secondary
#C3C3BD
accent
#B077B0
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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