#8A879D#8A879D

#8A879D is a light, muted blue. Relative luminance 0.252; OKLCH L 63.3% C 0.033 H 291.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A879D
RGBrgb(138, 135, 157)
HSLhsl(248, 10%, 57%)
HSVhsv(248, 14%, 62%)
CMYKcmyk(12.1%, 14%, 0%, 38.4%)
CIE-LABlab(57.24, 5.66, -11.28)
CIE-LCHlch(57.24, 12.62, 296.66°)
OKLaboklab(63.35% 0.0121 -0.0305)
OKLCHoklch(63.35% 0.033 291.7)
XYZxyz(25.2298, 25.1654, 35.4200)
Luminance0.2517 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A879D #9A9D87
analogous
#878F9D #8A879D #95879D
triadic
#8A879D #9D8A87 #879D8A
tetradic
#8A879D #9D878F #9A9D87 #879D95
square
#8A879D #9D878F #9A9D87 #879D95
split-complementary
#8A879D #9D9587 #8F9D87
monochromatic
#4F4C5D #6B687F #8A879D #ABA9B9 #CCCAD4

Accessibility & contrast

On white

3.48
#8A879D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8A879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A879D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A879D#FFFFFF#000000##000000
##8A879D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#828A9E
Deuteranopia (green-blind)
#82899C
Tritanopia (blue-blind)
#868A8E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a879d;
/* rgb */ color: rgb(138, 135, 157);
/* oklch */ color: oklch(63.3% 0.033 291.7);
Tailwind
colors: {
  custom: {
    50: '#aca9ba',
    500: '#8a879d',
    950: '#000000',
  },
}
SCSS
$custom: #8a879d;
$custom-light: #aca9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a879d",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 248.182,
    "s": 10.092,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.0328,
    "h": 291.7
  },
  "luminance": 0.25166
}

Semantic roles & 50–950 ramp

primary
#8A879D
secondary
#C3C4BB
accent
#B375AB
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A879D

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

Preview Lab → · Contrast checker → · Palette generator →

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