#8A8EC2#8A8EC2

#8A8EC2 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.3% C 0.077 H 280.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8A8EC2
RGBrgb(138, 142, 194)
HSLhsl(236, 31%, 65%)
HSVhsv(236, 29%, 76%)
CMYKcmyk(28.9%, 26.8%, 0%, 23.9%)
CIE-LABlab(60.47, 10.42, -27.43)
CIE-LCHlch(60.47, 29.34, 290.80°)
OKLaboklab(66.31% 0.0143 -0.0758)
OKLCHoklch(66.31% 0.077 280.7)
XYZxyz(29.8893, 28.6435, 54.9824)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EC2 #C2BE8A
analogous
#8AAAC2 #8A8EC2 #A28AC2
triadic
#8A8EC2 #C28A8E #8EC28A
tetradic
#8A8EC2 #C28AAA #C2BE8A #8AC2A2
square
#8A8EC2 #C28AAA #C2BE8A #8AC2A2
split-complementary
#8A8EC2 #C2A28A #AAC28A
monochromatic
#484D8A #6267AD #8A8EC2 #B2B5D7 #DADCEC

Accessibility & contrast

On white

3.12
#8A8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8A8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EC2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EC2#FFFFFF#000000##000000
##8A8EC21.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#7C90C1
Tritanopia (blue-blind)
#7C97A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8ec2;
/* rgb */ color: rgb(138, 142, 194);
/* oklch */ color: oklch(66.3% 0.077 280.7);
Tailwind
colors: {
  custom: {
    50: '#adafd4',
    500: '#8a8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ec2;
$custom-light: #adafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ec2",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 235.714,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.07718,
    "h": 280.7
  },
  "luminance": 0.28644
}

Semantic roles & 50–950 ramp

primary
#8A8EC2
secondary
#DDDCCA
accent
#A23BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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