#8A8A9F#8A8A9F

#8A8A9F is a light, muted blue. Relative luminance 0.261; OKLCH L 64.1% C 0.031 H 285.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A8A9F
RGBrgb(138, 138, 159)
HSLhsl(240, 10%, 58%)
HSVhsv(240, 13%, 62%)
CMYKcmyk(13.2%, 13.2%, 0%, 37.6%)
CIE-LABlab(58.12, 4.39, -11.11)
CIE-LCHlch(58.12, 11.94, 291.55°)
OKLaboklab(64.05% 0.0083 -0.03)
OKLCHoklch(64.05% 0.031 285.5)
XYZxyz(25.8264, 26.0832, 36.4681)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A9F #9F9F8A
analogous
#8A949F #8A8A9F #948A9F
triadic
#8A8A9F #9F8A8A #8A9F8A
tetradic
#8A8A9F #9F8A94 #9F9F8A #8A9F94
square
#8A8A9F #9F8A94 #9F9F8A #8A9F94
split-complementary
#8A8A9F #9F948A #949F8A
monochromatic
#4F4F60 #6A6A82 #8A8A9F #ACACBB #CDCDD6

Accessibility & contrast

On white

3.38
#8A8A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A8A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A9F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A9F#FFFFFF#000000##000000
##8A8A9F1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#858CA0
Deuteranopia (green-blind)
#858B9E
Tritanopia (blue-blind)
#868D91
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a8a9f;
/* rgb */ color: rgb(138, 138, 159);
/* oklch */ color: oklch(64.1% 0.031 285.5);
Tailwind
colors: {
  custom: {
    50: '#acacbb',
    500: '#8a8a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a9f;
$custom-light: #acacbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a9f",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 9.859,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64054,
    "c": 0.03115,
    "h": 285.5
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

primary
#8A8A9F
secondary
#C7C7BE
accent
#B375B3
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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