#8A8FA8#8A8FA8

#8A8FA8 is a light, muted blue. Relative luminance 0.279; OKLCH L 65.5% C 0.038 H 276.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A8FA8
RGBrgb(138, 143, 168)
HSLhsl(230, 15%, 60%)
HSVhsv(230, 18%, 66%)
CMYKcmyk(17.9%, 14.9%, 0%, 34.1%)
CIE-LABlab(59.78, 3.56, -13.75)
CIE-LCHlch(59.78, 14.20, 284.51°)
OKLaboklab(65.45% 0.0042 -0.0374)
OKLCHoklch(65.45% 0.038 276.4)
XYZxyz(27.3699, 27.8749, 40.9766)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FA8 #A8A38A
analogous
#8A9EA8 #8A8FA8 #948AA8
triadic
#8A8FA8 #A88A8F #8FA88A
tetradic
#8A8FA8 #A88A9E #A8A38A #8AA894
square
#8A8FA8 #A88A9E #A8A38A #8AA894
split-complementary
#8A8FA8 #A8948A #9EA88A
monochromatic
#4E5369 #686E8C #8A8FA8 #ADB1C2 #D0D2DC

Accessibility & contrast

On white

3.19
#8A8FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8A8FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FA8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FA8#FFFFFF#000000##000000
##8A8FA81.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A9
Deuteranopia (green-blind)
#878FA7
Tritanopia (blue-blind)
#839397
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8fa8;
/* rgb */ color: rgb(138, 143, 168);
/* oklch */ color: oklch(65.5% 0.038 276.4);
Tailwind
colors: {
  custom: {
    50: '#acafc1',
    500: '#8a8fa8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fa8;
$custom-light: #acafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fa8",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 230,
    "s": 14.706,
    "l": 60
  },
  "oklch": {
    "l": 0.65451,
    "c": 0.03759,
    "h": 276.4
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#8A8FA8
secondary
#CDCBC1
accent
#AC70B7
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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