#8A8EC5#8A8EC5

#8A8EC5 is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.4% C 0.082 H 280.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A8EC5
RGBrgb(138, 142, 197)
HSLhsl(236, 34%, 66%)
HSVhsv(236, 30%, 77%)
CMYKcmyk(29.9%, 27.9%, 0%, 22.7%)
CIE-LABlab(60.59, 11.18, -28.93)
CIE-LCHlch(60.59, 31.02, 291.14°)
OKLaboklab(66.44% 0.0152 -0.0801)
OKLCHoklch(66.44% 0.082 280.7)
XYZxyz(30.2296, 28.7797, 56.7748)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EC5 #C5C18A
analogous
#8AABC5 #8A8EC5 #A38AC5
triadic
#8A8EC5 #C58A8E #8EC58A
tetradic
#8A8EC5 #C58AAB #C5C18A #8AC5A3
square
#8A8EC5 #C58AAB #C5C18A #8AC5A3
split-complementary
#8A8EC5 #C5A38A #ABC58A
monochromatic
#464B8E #6166B1 #8A8EC5 #B3B6D9 #DCDDEE

Accessibility & contrast

On white

3.11
#8A8EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8A8EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EC5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EC5#FFFFFF#000000##000000
##8A8EC51.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C7
Deuteranopia (green-blind)
#7B90C4
Tritanopia (blue-blind)
#7B98A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8ec5;
/* rgb */ color: rgb(138, 142, 197);
/* oklch */ color: oklch(66.4% 0.082 280.7);
Tailwind
colors: {
  custom: {
    50: '#adafd6',
    500: '#8a8ec5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ec5;
$custom-light: #adafd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ec5",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 197
  },
  "hsl": {
    "h": 235.932,
    "s": 33.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.08156,
    "h": 280.7
  },
  "luminance": 0.2878
}

Semantic roles & 50–950 ramp

primary
#8A8EC5
secondary
#DFDECC
accent
#A539AD
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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