#8A8EAA#8A8EAA

#8A8EAA is a light, muted blue. Relative luminance 0.277; OKLCH L 65.3% C 0.042 H 278.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A8EAA
RGBrgb(138, 142, 170)
HSLhsl(233, 16%, 60%)
HSVhsv(233, 19%, 67%)
CMYKcmyk(18.8%, 16.5%, 0%, 33.3%)
CIE-LABlab(59.57, 4.59, -15.19)
CIE-LCHlch(59.57, 15.87, 286.81°)
OKLaboklab(65.31% 0.0064 -0.0414)
OKLCHoklch(65.31% 0.042 278.8)
XYZxyz(27.4082, 27.6511, 41.9156)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EAA #AAA68A
analogous
#8A9EAA #8A8EAA #968AAA
triadic
#8A8EAA #AA8A8E #8EAA8A
tetradic
#8A8EAA #AA8A9E #AAA68A #8AAA96
square
#8A8EAA #AA8A9E #AAA68A #8AAA96
split-complementary
#8A8EAA #AA968A #9EAA8A
monochromatic
#4E526C #686D8F #8A8EAA #ADB0C4 #D1D2DE

Accessibility & contrast

On white

3.22
#8A8EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A8EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EAA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EAA#FFFFFF#000000##000000
##8A8EAA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8791AB
Deuteranopia (green-blind)
#858EA9
Tritanopia (blue-blind)
#839397
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8eaa;
/* rgb */ color: rgb(138, 142, 170);
/* oklch */ color: oklch(65.3% 0.042 278.8);
Tailwind
colors: {
  custom: {
    50: '#acafc3',
    500: '#8a8eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eaa;
$custom-light: #acafc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eaa",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 232.5,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.04185,
    "h": 278.8
  },
  "luminance": 0.27652
}

Semantic roles & 50–950 ramp

primary
#8A8EAA
secondary
#CECCC2
accent
#904B9A
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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