#8E8EAA#8E8EAA

#8E8EAA is a light, muted blue. Relative luminance 0.280; OKLCH L 65.6% C 0.041 H 285.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8E8EAA
RGBrgb(142, 142, 170)
HSLhsl(240, 14%, 61%)
HSVhsv(240, 16%, 67%)
CMYKcmyk(16.5%, 16.5%, 0%, 33.3%)
CIE-LABlab(59.89, 5.92, -14.69)
CIE-LCHlch(59.89, 15.83, 291.94°)
OKLaboklab(65.64% 0.0109 -0.0399)
OKLCHoklch(65.64% 0.041 285.2)
XYZxyz(28.0824, 27.9987, 41.9472)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EAA #AAAA8E
analogous
#8E9CAA #8E8EAA #9C8EAA
triadic
#8E8EAA #AA8E8E #8EAA8E
tetradic
#8E8EAA #AA8E9C #AAAA8E #8EAA9C
square
#8E8EAA #AA8E9C #AAAA8E #8EAA9C
split-complementary
#8E8EAA #AA9C8E #9CAA8E
monochromatic
#51516C #6C6C8F #8E8EAA #B1B1C4 #D4D4DF

Accessibility & contrast

On white

3.18
#8E8EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8E8EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8EAA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EAA#FFFFFF#000000##000000
##8E8EAA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8791AB
Deuteranopia (green-blind)
#878FA9
Tritanopia (blue-blind)
#889397
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e8eaa;
/* rgb */ color: rgb(142, 142, 170);
/* oklch */ color: oklch(65.6% 0.041 285.2);
Tailwind
colors: {
  custom: {
    50: '#afafc3',
    500: '#8e8eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8e8eaa;
$custom-light: #afafc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8eaa",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 14.141,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65639,
    "c": 0.04136,
    "h": 285.2
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

primary
#8E8EAA
secondary
#CFCFC5
accent
#984D98
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8E8EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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