#8A8AAF#8A8AAF

#8A8AAF is a light, muted blue. Relative luminance 0.267; OKLCH L 64.7% C 0.055 H 284.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8AAF
RGBrgb(138, 138, 175)
HSLhsl(240, 19%, 61%)
HSVhsv(240, 21%, 69%)
CMYKcmyk(21.1%, 21.1%, 0%, 31.4%)
CIE-LABlab(58.67, 8.06, -19.41)
CIE-LCHlch(58.67, 21.01, 292.54°)
OKLaboklab(64.67% 0.014 -0.0531)
OKLCHoklch(64.67% 0.055 284.8)
XYZxyz(27.3057, 26.6749, 44.2593)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AAF #AFAF8A
analogous
#8A9DAF #8A8AAF #9D8AAF
triadic
#8A8AAF #AF8A8A #8AAF8A
tetradic
#8A8AAF #AF8A9D #AFAF8A #8AAF9D
square
#8A8AAF #AF8A9D #AFAF8A #8AAF9D
split-complementary
#8A8AAF #AF9D8A #9DAF8A
monochromatic
#4D4D71 #666696 #8A8AAF #AEAEC8 #D3D3E1

Accessibility & contrast

On white

3.31
#8A8AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A8AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AAF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AAF#FFFFFF#000000##000000
##8A8AAF1.003.316.336.33
#FFFFFF3.311.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8aaf;
/* rgb */ color: rgb(138, 138, 175);
/* oklch */ color: oklch(64.7% 0.055 284.8);
Tailwind
colors: {
  custom: {
    50: '#acacc7',
    500: '#8a8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aaf;
$custom-light: #acacc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aaf",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.05493,
    "h": 284.8
  },
  "luminance": 0.26675
}

Semantic roles & 50–950 ramp

primary
#8A8AAF
secondary
#D1D1C3
accent
#9D489D
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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