#8C8EA8#8C8EA8

#8C8EA8 is a light, muted blue. Relative luminance 0.277; OKLCH L 65.4% C 0.039 H 281.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8C8EA8
RGBrgb(140, 142, 168)
HSLhsl(236, 14%, 60%)
HSVhsv(236, 17%, 66%)
CMYKcmyk(16.7%, 15.5%, 0%, 34.1%)
CIE-LABlab(59.66, 4.80, -13.91)
CIE-LCHlch(59.66, 14.71, 289.03°)
OKLaboklab(65.4% 0.0079 -0.0378)
OKLCHoklch(65.4% 0.039 281.8)
XYZxyz(27.5545, 27.7482, 40.9424)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EA8 #A8A68C
analogous
#8C9CA8 #8C8EA8 #988CA8
triadic
#8C8EA8 #A88C8E #8EA88C
tetradic
#8C8EA8 #A88C9C #A8A68C #8CA898
square
#8C8EA8 #A88C9C #A8A68C #8CA898
split-complementary
#8C8EA8 #A8988C #9CA88C
monochromatic
#50526A #6A6D8D #8C8EA8 #AFB0C2 #D2D2DD

Accessibility & contrast

On white

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

On black

6.55
#8C8EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8EA8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EA8#FFFFFF#000000##000000
##8C8EA81.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A9
Deuteranopia (green-blind)
#868FA7
Tritanopia (blue-blind)
#869297
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8c8ea8;
/* rgb */ color: rgb(140, 142, 168);
/* oklch */ color: oklch(65.4% 0.039 281.8);
Tailwind
colors: {
  custom: {
    50: '#adafc1',
    500: '#8c8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ea8;
$custom-light: #adafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ea8",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 235.714,
    "s": 13.861,
    "l": 60.392
  },
  "oklch": {
    "l": 0.654,
    "c": 0.03859,
    "h": 281.8
  },
  "luminance": 0.27749
}

Semantic roles & 50–950 ramp

primary
#8C8EA8
secondary
#CDCCC3
accent
#934D98
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8C8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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