#8A8CAA#8A8CAA

#8A8CAA is a light, muted blue. Relative luminance 0.271; OKLCH L 64.9% C 0.045 H 282.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A8CAA
RGBrgb(138, 140, 170)
HSLhsl(236, 16%, 60%)
HSVhsv(236, 19%, 67%)
CMYKcmyk(18.8%, 17.6%, 0%, 33.3%)
CIE-LABlab(59.03, 5.73, -16.01)
CIE-LCHlch(59.03, 17.01, 289.70°)
OKLaboklab(64.89% 0.0093 -0.0436)
OKLCHoklch(64.89% 0.045 282.1)
XYZxyz(27.1133, 27.0613, 41.8173)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CAA #AAA88A
analogous
#8A9CAA #8A8CAA #988AAA
triadic
#8A8CAA #AA8A8C #8CAA8A
tetradic
#8A8CAA #AA8A9C #AAA88A #8AAA98
square
#8A8CAA #AA8A9C #AAA88A #8AAA98
split-complementary
#8A8CAA #AA988A #9CAA8A
monochromatic
#4E506C #686A8F #8A8CAA #ADAFC4 #D1D2DE

Accessibility & contrast

On white

3.27
#8A8CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A8CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CAA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CAA#FFFFFF#000000##000000
##8A8CAA1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAB
Deuteranopia (green-blind)
#838DA9
Tritanopia (blue-blind)
#839196
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8caa;
/* rgb */ color: rgb(138, 140, 170);
/* oklch */ color: oklch(64.9% 0.045 282.1);
Tailwind
colors: {
  custom: {
    50: '#acadc3',
    500: '#8a8caa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8caa;
$custom-light: #acadc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8caa",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 236.25,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64892,
    "c": 0.04462,
    "h": 282.1
  },
  "luminance": 0.27062
}

Semantic roles & 50–950 ramp

primary
#8A8CAA
secondary
#CECDC2
accent
#954B9A
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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