#8A8AAC#8A8AAC

#8A8AAC is a light, muted blue. Relative luminance 0.266; OKLCH L 64.6% C 0.050 H 284.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A8AAC
RGBrgb(138, 138, 172)
HSLhsl(240, 17%, 61%)
HSVhsv(240, 20%, 67%)
CMYKcmyk(19.8%, 19.8%, 0%, 32.5%)
CIE-LABlab(58.56, 7.35, -17.86)
CIE-LCHlch(58.56, 19.32, 292.36°)
OKLaboklab(64.55% 0.013 -0.0488)
OKLCHoklch(64.55% 0.05 284.9)
XYZxyz(27.0144, 26.5584, 42.7248)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AAC #ACAC8A
analogous
#8A9BAC #8A8AAC #9B8AAC
triadic
#8A8AAC #AC8A8A #8AAC8A
tetradic
#8A8AAC #AC8A9B #ACAC8A #8AAC9B
square
#8A8AAC #AC8A9B #ACAC8A #8AAC9B
split-complementary
#8A8AAC #AC9B8A #9BAC8A
monochromatic
#4E4E6E #676792 #8A8AAC #AEAEC5 #D2D2DF

Accessibility & contrast

On white

3.33
#8A8AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8A8AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AAC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AAC#FFFFFF#000000##000000
##8A8AAC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAE
Deuteranopia (green-blind)
#818CAB
Tritanopia (blue-blind)
#839095
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a8aac;
/* rgb */ color: rgb(138, 138, 172);
/* oklch */ color: oklch(64.6% 0.050 284.9);
Tailwind
colors: {
  custom: {
    50: '#acacc4',
    500: '#8a8aac',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aac;
$custom-light: #acacc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aac",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 17,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64551,
    "c": 0.05049,
    "h": 284.9
  },
  "luminance": 0.26559
}

Semantic roles & 50–950 ramp

primary
#8A8AAC
secondary
#CFCFC2
accent
#9B4A9B
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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