#8C8EBA#8C8EBA

#8C8EBA is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.1% C 0.065 H 282.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8C8EBA
RGBrgb(140, 142, 186)
HSLhsl(237, 25%, 64%)
HSVhsv(237, 25%, 73%)
CMYKcmyk(24.7%, 23.7%, 0%, 27.1%)
CIE-LABlab(60.31, 9.04, -23.14)
CIE-LCHlch(60.31, 24.84, 291.34°)
OKLaboklab(66.12% 0.014 -0.0636)
OKLCHoklch(66.12% 0.065 282.4)
XYZxyz(29.3489, 28.4660, 50.3931)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EBA #BAB88C
analogous
#8CA5BA #8C8EBA #A18CBA
triadic
#8C8EBA #BA8C8E #8EBA8C
tetradic
#8C8EBA #BA8CA5 #BAB88C #8CBAA1
square
#8C8EBA #BA8CA5 #BAB88C #8CBAA1
split-complementary
#8C8EBA #BAA18C #A5BA8C
monochromatic
#4C4F7F #6668A3 #8C8EBA #B2B4D1 #D9D9E8

Accessibility & contrast

On white

3.14
#8C8EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8C8EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8EBA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EBA#FFFFFF#000000##000000
##8C8EBA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BC
Deuteranopia (green-blind)
#8090B9
Tritanopia (blue-blind)
#81969D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c8eba;
/* rgb */ color: rgb(140, 142, 186);
/* oklch */ color: oklch(66.1% 0.065 282.4);
Tailwind
colors: {
  custom: {
    50: '#aeafce',
    500: '#8c8eba',
    950: '#000000',
  },
}
SCSS
$custom: #8c8eba;
$custom-light: #aeafce;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8eba",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 237.391,
    "s": 25,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.06517,
    "h": 282.4
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

primary
#8C8EBA
secondary
#D9D8C9
accent
#9F42A4
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8C8EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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