#8A8FA4#8A8FA4

#8A8FA4 is a light, muted blue. Relative luminance 0.277; OKLCH L 65.3% C 0.032 H 274.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A8FA4
RGBrgb(138, 143, 164)
HSLhsl(228, 13%, 59%)
HSVhsv(228, 16%, 64%)
CMYKcmyk(15.9%, 12.8%, 0%, 35.7%)
CIE-LABlab(59.64, 2.65, -11.67)
CIE-LCHlch(59.64, 11.97, 282.80°)
OKLaboklab(65.3% 0.0027 -0.0316)
OKLCHoklch(65.3% 0.032 274.9)
XYZxyz(27.0030, 27.7281, 39.0442)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FA4 #A49F8A
analogous
#8A9CA4 #8A8FA4 #928AA4
triadic
#8A8FA4 #A48A8F #8FA48A
tetradic
#8A8FA4 #A48A9C #A49F8A #8AA492
square
#8A8FA4 #A48A9C #A49F8A #8AA492
split-complementary
#8A8FA4 #A4928A #9CA48A
monochromatic
#4F5365 #696F87 #8A8FA4 #ACB0BF #CFD1DA

Accessibility & contrast

On white

3.21
#8A8FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8A8FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FA4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FA4#FFFFFF#000000##000000
##8A8FA41.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A5
Deuteranopia (green-blind)
#888FA3
Tritanopia (blue-blind)
#849396
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8fa4;
/* rgb */ color: rgb(138, 143, 164);
/* oklch */ color: oklch(65.3% 0.032 274.9);
Tailwind
colors: {
  custom: {
    50: '#acafbf',
    500: '#8a8fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fa4;
$custom-light: #acafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fa4",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 164
  },
  "hsl": {
    "h": 228.462,
    "s": 12.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.03174,
    "h": 274.9
  },
  "luminance": 0.27729
}

Semantic roles & 50–950 ramp

primary
#8A8FA4
secondary
#CAC8C0
accent
#A872B5
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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