#8A8AAA#8A8AAA

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

Color values

HEX#8A8AAA
RGBrgb(138, 138, 170)
HSLhsl(240, 16%, 60%)
HSVhsv(240, 19%, 67%)
CMYKcmyk(18.8%, 18.8%, 0%, 33.3%)
CIE-LABlab(58.49, 6.88, -16.83)
CIE-LCHlch(58.49, 18.18, 292.24°)
OKLaboklab(64.47% 0.0123 -0.0459)
OKLCHoklch(64.47% 0.048 285)
XYZxyz(26.8237, 26.4821, 41.7208)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AAA #AAAA8A
analogous
#8A9AAA #8A8AAA #9A8AAA
triadic
#8A8AAA #AA8A8A #8AAA8A
tetradic
#8A8AAA #AA8A9A #AAAA8A #8AAA9A
square
#8A8AAA #AA8A9A #AAAA8A #8AAA9A
split-complementary
#8A8AAA #AA9A8A #9AAA8A
monochromatic
#4E4E6C #68688F #8A8AAA #ADADC4 #D1D1DE

Accessibility & contrast

On white

3.34
#8A8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8AAA#FFFFFF#000000##000000
##8A8AAA1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8aaa;
/* rgb */ color: rgb(138, 138, 170);
/* oklch */ color: oklch(64.5% 0.048 285.0);
Tailwind
colors: {
  custom: {
    50: '#acacc3',
    500: '#8a8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aaa;
$custom-light: #acacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aaa",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.04752,
    "h": 285
  },
  "luminance": 0.26483
}

Semantic roles & 50–950 ramp

primary
#8A8AAA
secondary
#CECEC2
accent
#9A4B9A
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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