#8A8FA1#8A8FA1

#8A8FA1 is a light, muted blue. Relative luminance 0.276; OKLCH L 65.2% C 0.027 H 273.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8FA1
RGBrgb(138, 143, 161)
HSLhsl(227, 11%, 59%)
HSVhsv(227, 14%, 63%)
CMYKcmyk(14.3%, 11.2%, 0%, 36.9%)
CIE-LABlab(59.54, 1.98, -10.11)
CIE-LCHlch(59.54, 10.30, 281.09°)
OKLaboklab(65.19% 0.0016 -0.0273)
OKLCHoklch(65.19% 0.027 273.3)
XYZxyz(26.7353, 27.6211, 37.6342)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FA1 #A19C8A
analogous
#8A9AA1 #8A8FA1 #908AA1
triadic
#8A8FA1 #A18A8F #8FA18A
tetradic
#8A8FA1 #A18A9A #A19C8A #8AA190
square
#8A8FA1 #A18A9A #A19C8A #8AA190
split-complementary
#8A8FA1 #A1908A #9AA18A
monochromatic
#4F5362 #6A7084 #8A8FA1 #ACAFBC #CED0D8

Accessibility & contrast

On white

3.22
#8A8FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8A8FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FA1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FA1#FFFFFF#000000##000000
##8A8FA11.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A90A2
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#859295
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8fa1;
/* rgb */ color: rgb(138, 143, 161);
/* oklch */ color: oklch(65.2% 0.027 273.3);
Tailwind
colors: {
  custom: {
    50: '#acafbc',
    500: '#8a8fa1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fa1;
$custom-light: #acafbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fa1",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 161
  },
  "hsl": {
    "h": 226.957,
    "s": 10.9,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65194,
    "c": 0.02737,
    "h": 273.3
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#8A8FA1
secondary
#C8C6BF
accent
#A674B4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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