#8A8AAD#8A8AAD

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

Color values

HEX#8A8AAD
RGBrgb(138, 138, 173)
HSLhsl(240, 18%, 61%)
HSVhsv(240, 20%, 68%)
CMYKcmyk(20.2%, 20.2%, 0%, 32.2%)
CIE-LABlab(58.60, 7.58, -18.38)
CIE-LCHlch(58.60, 19.88, 292.42°)
OKLaboklab(64.59% 0.0133 -0.0502)
OKLCHoklch(64.59% 0.052 284.9)
XYZxyz(27.1108, 26.5970, 43.2325)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AAD #ADAD8A
analogous
#8A9BAD #8A8AAD #9B8AAD
triadic
#8A8AAD #AD8A8A #8AAD8A
tetradic
#8A8AAD #AD8A9B #ADAD8A #8AAD9B
square
#8A8AAD #AD8A9B #ADAD8A #8AAD9B
split-complementary
#8A8AAD #AD9B8A #9BAD8A
monochromatic
#4E4E6F #676793 #8A8AAD #AEAEC6 #D2D2DF

Accessibility & contrast

On white

3.32
#8A8AAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8A8AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AAD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AAD#FFFFFF#000000##000000
##8A8AAD1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818EAF
Deuteranopia (green-blind)
#808CAC
Tritanopia (blue-blind)
#829096
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a8aad;
/* rgb */ color: rgb(138, 138, 173);
/* oklch */ color: oklch(64.6% 0.052 284.9);
Tailwind
colors: {
  custom: {
    50: '#acacc5',
    500: '#8a8aad',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aad;
$custom-light: #acacc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aad",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 17.588,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64591,
    "c": 0.05197,
    "h": 284.9
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

primary
#8A8AAD
secondary
#D0D0C3
accent
#9C4A9C
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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