#8E8CA2#8E8CA2

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

Color values

HEX#8E8CA2
RGBrgb(142, 140, 162)
HSLhsl(245, 11%, 59%)
HSVhsv(245, 14%, 64%)
CMYKcmyk(12.3%, 13.6%, 0%, 36.5%)
CIE-LABlab(59.08, 5.28, -11.34)
CIE-LCHlch(59.08, 12.51, 294.95°)
OKLaboklab(64.92% 0.0109 -0.0306)
OKLCHoklch(64.92% 0.033 289.6)
XYZxyz(27.0536, 27.1154, 37.9839)
Luminance0.2712 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8CA2 #A0A28C
analogous
#8C95A2 #8E8CA2 #998CA2
triadic
#8E8CA2 #A28E8C #8CA28E
tetradic
#8E8CA2 #A28C95 #A0A28C #8CA299
square
#8E8CA2 #A28C95 #A0A28C #8CA299
split-complementary
#8E8CA2 #A2998C #95A28C
monochromatic
#525063 #6E6C85 #8E8CA2 #AFAEBD #D0D0D9

Accessibility & contrast

On white

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

On black

6.42
#8E8CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8CA2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8CA2#FFFFFF#000000##000000
##8E8CA21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#878EA1
Tritanopia (blue-blind)
#8A8F93
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e8ca2;
/* rgb */ color: rgb(142, 140, 162);
/* oklch */ color: oklch(64.9% 0.033 289.6);
Tailwind
colors: {
  custom: {
    50: '#afadbd',
    500: '#8e8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8e8ca2;
$custom-light: #afadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8ca2",
  "rgb": {
    "r": 142,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 245.455,
    "s": 10.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64921,
    "c": 0.03253,
    "h": 289.6
  },
  "luminance": 0.27116
}

Semantic roles & 50–950 ramp

primary
#8E8CA2
secondary
#C8C9C1
accent
#B474AE
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8E8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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