#8E8EA2#8E8EA2

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

Color values

HEX#8E8EA2
RGBrgb(142, 142, 162)
HSLhsl(240, 10%, 60%)
HSVhsv(240, 12%, 64%)
CMYKcmyk(12.3%, 12.3%, 0%, 36.5%)
CIE-LABlab(59.62, 4.14, -10.53)
CIE-LCHlch(59.62, 11.31, 291.45°)
OKLaboklab(65.34% 0.0079 -0.0284)
OKLCHoklch(65.34% 0.03 285.5)
XYZxyz(27.3485, 27.7052, 38.0822)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EA2 #A2A28E
analogous
#8E98A2 #8E8EA2 #988EA2
triadic
#8E8EA2 #A28E8E #8EA28E
tetradic
#8E8EA2 #A28E98 #A2A28E #8EA298
square
#8E8EA2 #A28E98 #A2A28E #8EA298
split-complementary
#8E8EA2 #A2988E #98A28E
monochromatic
#525264 #6E6E85 #8E8EA2 #B0B0BE #D1D1D9

Accessibility & contrast

On white

3.21
#8E8EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#8E8EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8EA2
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EA2#FFFFFF#000000##000000
##8E8EA21.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A3
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#8A9194
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e8ea2;
/* rgb */ color: rgb(142, 142, 162);
/* oklch */ color: oklch(65.3% 0.030 285.5);
Tailwind
colors: {
  custom: {
    50: '#afafbd',
    500: '#8e8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ea2;
$custom-light: #afafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ea2",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.02951,
    "h": 285.5
  },
  "luminance": 0.27705
}

Semantic roles & 50–950 ramp

primary
#8E8EA2
secondary
#CACAC2
accent
#B375B3
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8E8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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