#8E8EA4#8E8EA4

#8E8EA4 is a light, muted blue. Relative luminance 0.278; OKLCH L 65.4% C 0.032 H 285.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8E8EA4
RGBrgb(142, 142, 164)
HSLhsl(240, 11%, 60%)
HSVhsv(240, 13%, 64%)
CMYKcmyk(13.4%, 13.4%, 0%, 35.7%)
CIE-LABlab(59.69, 4.58, -11.57)
CIE-LCHlch(59.69, 12.45, 291.57°)
OKLaboklab(65.42% 0.0087 -0.0313)
OKLCHoklch(65.42% 0.032 285.5)
XYZxyz(27.5277, 27.7769, 39.0260)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8EA4 #A4A48E
analogous
#8E99A4 #8E8EA4 #998EA4
triadic
#8E8EA4 #A48E8E #8EA48E
tetradic
#8E8EA4 #A48E99 #A4A48E #8EA499
square
#8E8EA4 #A48E99 #A4A48E #8EA499
split-complementary
#8E8EA4 #A4998E #99A48E
monochromatic
#525266 #6D6D88 #8E8EA4 #B0B0BF #D2D2DB

Accessibility & contrast

On white

3.20
#8E8EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8E8EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8EA4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8EA4#FFFFFF#000000##000000
##8E8EA41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A5
Deuteranopia (green-blind)
#888FA3
Tritanopia (blue-blind)
#8A9295
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e8ea4;
/* rgb */ color: rgb(142, 142, 164);
/* oklch */ color: oklch(65.4% 0.032 285.5);
Tailwind
colors: {
  custom: {
    50: '#afafbf',
    500: '#8e8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ea4;
$custom-light: #afafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ea4",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 10.784,
    "l": 60
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.03248,
    "h": 285.5
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#8E8EA4
secondary
#CBCBC3
accent
#B474B4
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8E8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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