#8A8FAC#8A8FAC

#8A8FAC is a light, muted blue. Relative luminance 0.280; OKLCH L 65.6% C 0.043 H 277.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A8FAC
RGBrgb(138, 143, 172)
HSLhsl(231, 17%, 61%)
HSVhsv(231, 20%, 67%)
CMYKcmyk(19.8%, 16.9%, 0%, 32.5%)
CIE-LABlab(59.91, 4.48, -15.82)
CIE-LCHlch(59.91, 16.44, 285.83°)
OKLaboklab(65.6% 0.0056 -0.0431)
OKLCHoklch(65.6% 0.043 277.4)
XYZxyz(27.7483, 28.0263, 42.9694)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FAC #ACA78A
analogous
#8AA0AC #8A8FAC #968AAC
triadic
#8A8FAC #AC8A8F #8FAC8A
tetradic
#8A8FAC #AC8AA0 #ACA78A #8AAC96
square
#8A8FAC #AC8AA0 #ACA78A #8AAC96
split-complementary
#8A8FAC #AC968A #A0AC8A
monochromatic
#4E536E #676D92 #8A8FAC #AEB1C5 #D2D4DF

Accessibility & contrast

On white

3.18
#8A8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FAC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FAC#FFFFFF#000000##000000
##8A8FAC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792AD
Deuteranopia (green-blind)
#858FAB
Tritanopia (blue-blind)
#829499
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8fac;
/* rgb */ color: rgb(138, 143, 172);
/* oklch */ color: oklch(65.6% 0.043 277.4);
Tailwind
colors: {
  custom: {
    50: '#acafc4',
    500: '#8a8fac',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fac;
$custom-light: #acafc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fac",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 231.176,
    "s": 17,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.04347,
    "h": 277.4
  },
  "luminance": 0.28027
}

Semantic roles & 50–950 ramp

primary
#8A8FAC
secondary
#CFCDC2
accent
#8F4A9B
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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