#8A8EC0#8A8EC0

#8A8EC0 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.2% C 0.074 H 280.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8EC0
RGBrgb(138, 142, 192)
HSLhsl(236, 30%, 65%)
HSVhsv(236, 28%, 75%)
CMYKcmyk(28.1%, 26%, 0%, 24.7%)
CIE-LABlab(60.39, 9.91, -26.42)
CIE-LCHlch(60.39, 28.22, 290.57°)
OKLaboklab(66.22% 0.0137 -0.073)
OKLCHoklch(66.22% 0.074 280.6)
XYZxyz(29.6662, 28.5543, 53.8075)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EC0 #C0BC8A
analogous
#8AA9C0 #8A8EC0 #A18AC0
triadic
#8A8EC0 #C08A8E #8EC08A
tetradic
#8A8EC0 #C08AA9 #C0BC8A #8AC0A1
square
#8A8EC0 #C08AA9 #C0BC8A #8AC0A1
split-complementary
#8A8EC0 #C0A18A #A9C08A
monochromatic
#494D87 #6268AB #8A8EC0 #B2B4D5 #DADBEB

Accessibility & contrast

On white

3.13
#8A8EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8A8EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EC0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EC0#FFFFFF#000000##000000
##8A8EC01.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C2
Deuteranopia (green-blind)
#7D90BF
Tritanopia (blue-blind)
#7D979F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8ec0;
/* rgb */ color: rgb(138, 142, 192);
/* oklch */ color: oklch(66.2% 0.074 280.6);
Tailwind
colors: {
  custom: {
    50: '#adafd3',
    500: '#8a8ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ec0;
$custom-light: #adafd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ec0",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 235.556,
    "s": 30,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66217,
    "c": 0.07425,
    "h": 280.6
  },
  "luminance": 0.28555
}

Semantic roles & 50–950 ramp

primary
#8A8EC0
secondary
#DCDBCA
accent
#A13DA9
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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