#8A8CAC#8A8CAC

#8A8CAC is a light, muted blue. Relative luminance 0.271; OKLCH L 65.0% C 0.048 H 282.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A8CAC
RGBrgb(138, 140, 172)
HSLhsl(236, 17%, 61%)
HSVhsv(236, 20%, 67%)
CMYKcmyk(19.8%, 18.6%, 0%, 32.5%)
CIE-LABlab(59.10, 6.20, -17.05)
CIE-LCHlch(59.10, 18.14, 289.99°)
OKLaboklab(64.97% 0.01 -0.0465)
OKLCHoklch(64.97% 0.048 282.2)
XYZxyz(27.3039, 27.1376, 42.8213)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CAC #ACAA8A
analogous
#8A9DAC #8A8CAC #998AAC
triadic
#8A8CAC #AC8A8C #8CAC8A
tetradic
#8A8CAC #AC8A9D #ACAA8A #8AAC99
square
#8A8CAC #AC8A9D #ACAA8A #8AAC99
split-complementary
#8A8CAC #AC998A #9DAC8A
monochromatic
#4E506E #676A92 #8A8CAC #AEAFC5 #D2D2DF

Accessibility & contrast

On white

3.27
#8A8CAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A8CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CAC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CAC#FFFFFF#000000##000000
##8A8CAC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAD
Deuteranopia (green-blind)
#828DAB
Tritanopia (blue-blind)
#839197
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8cac;
/* rgb */ color: rgb(138, 140, 172);
/* oklch */ color: oklch(65.0% 0.048 282.2);
Tailwind
colors: {
  custom: {
    50: '#acadc4',
    500: '#8a8cac',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cac;
$custom-light: #acadc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cac",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 172
  },
  "hsl": {
    "h": 236.471,
    "s": 17,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.04758,
    "h": 282.2
  },
  "luminance": 0.27138
}

Semantic roles & 50–950 ramp

primary
#8A8CAC
secondary
#CFCFC2
accent
#964A9B
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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