#8A8ECC#8A8ECC

#8A8ECC is a light, moderate blue. Relative luminance 0.291; OKLCH L 66.8% C 0.092 H 280.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8ECC
RGBrgb(138, 142, 204)
HSLhsl(236, 39%, 67%)
HSVhsv(236, 32%, 80%)
CMYKcmyk(32.4%, 30.4%, 0%, 20%)
CIE-LABlab(60.88, 12.99, -32.42)
CIE-LCHlch(60.88, 34.92, 291.84°)
OKLaboklab(66.76% 0.0171 -0.0901)
OKLCHoklch(66.76% 0.092 280.8)
XYZxyz(31.0503, 29.1080, 61.0975)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ECC #CCC88A
analogous
#8AAFCC #8A8ECC #A78ACC
triadic
#8A8ECC #CC8A8E #8ECC8A
tetradic
#8A8ECC #CC8AAF #CCC88A #8ACCA7
square
#8A8ECC #CC8AAF #CCC88A #8ACCA7
split-complementary
#8A8ECC #CCA78A #AFCC8A
monochromatic
#434899 #5F65B9 #8A8ECC #B5B7DF #DFE0F1

Accessibility & contrast

On white

3.08
#8A8ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A8ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ECC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ECC#FFFFFF#000000##000000
##8A8ECC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#7891CA
Tritanopia (blue-blind)
#799AA4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8ecc;
/* rgb */ color: rgb(138, 142, 204);
/* oklch */ color: oklch(66.8% 0.092 280.8);
Tailwind
colors: {
  custom: {
    50: '#aeafdb',
    500: '#8a8ecc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ecc;
$custom-light: #aeafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ecc",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 236.364,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.09174,
    "h": 280.8
  },
  "luminance": 0.29109
}

Semantic roles & 50–950 ramp

primary
#8A8ECC
secondary
#E3E2CE
accent
#AB33B2
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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