#808CEA#808CEA

#808CEA is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.139 H 276.5°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#808CEA
RGBrgb(128, 140, 234)
HSLhsl(233, 72%, 71%)
HSVhsv(233, 45%, 92%)
CMYKcmyk(45.3%, 40.2%, 0%, 8.2%)
CIE-LABlab(61.03, 19.84, -48.95)
CIE-LCHlch(61.03, 52.82, 292.06°)
OKLaboklab(67.15% 0.0157 -0.1383)
OKLCHoklch(67.15% 0.139 276.5)
XYZxyz(33.1269, 29.2841, 81.7328)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CEA #EADE80
analogous
#80C1EA #808CEA #A980EA
triadic
#808CEA #EA808C #8CEA80
tetradic
#808CEA #EA80C1 #EADE80 #80EAA9
square
#808CEA #EA80C1 #EADE80 #80EAA9
split-complementary
#808CEA #EAA980 #C1EA80
monochromatic
#2235CE #4B5CE1 #808CEA #B5BCF3 #E5E7FB

Accessibility & contrast

On white

3.06
#808CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#808CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808CEA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808CEA#FFFFFF#000000##000000
##808CEA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#5B9FB0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #808cea;
/* rgb */ color: rgb(128, 140, 234);
/* oklch */ color: oklch(67.2% 0.139 276.5);
Tailwind
colors: {
  custom: {
    50: '#aaadf1',
    500: '#808cea',
    950: '#000000',
  },
}
SCSS
$custom: #808cea;
$custom-light: #aaadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#808cea",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 233.208,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.13916,
    "h": 276.5
  },
  "luminance": 0.29286
}

Semantic roles & 50–950 ramp

primary
#808CEA
secondary
#F1EED5
accent
#BE12D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808CEA

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

Preview Lab → · Contrast checker → · Palette generator →

#808CEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva