#808AEA#808AEA

#808AEA is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.142 H 277.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#808AEA
RGBrgb(128, 138, 234)
HSLhsl(234, 72%, 71%)
HSVhsv(234, 45%, 92%)
CMYKcmyk(45.3%, 41%, 0%, 8.2%)
CIE-LABlab(60.52, 21.01, -49.76)
CIE-LCHlch(60.52, 54.02, 292.89°)
OKLaboklab(66.76% 0.0181 -0.1406)
OKLCHoklch(66.76% 0.142 277.3)
XYZxyz(32.8373, 28.7050, 81.6363)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AEA #EAE080
analogous
#80BFEA #808AEA #AB80EA
triadic
#808AEA #EA808A #8AEA80
tetradic
#808AEA #EA80BF #EAE080 #80EAAB
square
#808AEA #EA80BF #EAE080 #80EAAB
split-complementary
#808AEA #EAAB80 #BFEA80
monochromatic
#2232CE #4B5AE1 #808AEA #B5BAF3 #E5E7FB

Accessibility & contrast

On white

3.12
#808AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#808AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AEA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AEA#FFFFFF#000000##000000
##808AEA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#5B9EAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #808aea;
/* rgb */ color: rgb(128, 138, 234);
/* oklch */ color: oklch(66.8% 0.142 277.3);
Tailwind
colors: {
  custom: {
    50: '#aaacf1',
    500: '#808aea',
    950: '#000000',
  },
}
SCSS
$custom: #808aea;
$custom-light: #aaacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#808aea",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 234.34,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66761,
    "c": 0.1418,
    "h": 277.3
  },
  "luminance": 0.28707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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