#8A8AAB#8A8AAB

#8A8AAB is a light, muted blue. Relative luminance 0.265; OKLCH L 64.5% C 0.049 H 284.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A8AAB
RGBrgb(138, 138, 171)
HSLhsl(240, 16%, 61%)
HSVhsv(240, 19%, 67%)
CMYKcmyk(19.3%, 19.3%, 0%, 32.9%)
CIE-LABlab(58.53, 7.11, -17.35)
CIE-LCHlch(58.53, 18.75, 292.30°)
OKLaboklab(64.51% 0.0126 -0.0473)
OKLCHoklch(64.51% 0.049 284.9)
XYZxyz(26.9187, 26.5201, 42.2209)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AAB #ABAB8A
analogous
#8A9AAB #8A8AAB #9A8AAB
triadic
#8A8AAB #AB8A8A #8AAB8A
tetradic
#8A8AAB #AB8A9A #ABAB8A #8AAB9A
square
#8A8AAB #AB8A9A #ABAB8A #8AAB9A
split-complementary
#8A8AAB #AB9A8A #9AAB8A
monochromatic
#4E4E6D #686890 #8A8AAB #AEAEC5 #D1D1DE

Accessibility & contrast

On white

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

On black

6.30
#8A8AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AAB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AAB#FFFFFF#000000##000000
##8A8AAB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAC
Deuteranopia (green-blind)
#818CAA
Tritanopia (blue-blind)
#838F95
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a8aab;
/* rgb */ color: rgb(138, 138, 171);
/* oklch */ color: oklch(64.5% 0.049 284.9);
Tailwind
colors: {
  custom: {
    50: '#acacc4',
    500: '#8a8aab',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aab;
$custom-light: #acacc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aab",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 16.418,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.049,
    "h": 284.9
  },
  "luminance": 0.26521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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