#808AEF#808AEF

#808AEF is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.149 H 277.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#808AEF
RGBrgb(128, 138, 239)
HSLhsl(235, 78%, 72%)
HSVhsv(235, 46%, 94%)
CMYKcmyk(46.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(60.78, 22.48, -52.12)
CIE-LCHlch(60.78, 56.76, 293.33°)
OKLaboklab(67.04% 0.019 -0.1475)
OKLCHoklch(67.04% 0.149 277.3)
XYZxyz(33.5658, 28.9963, 85.4728)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AEF #EFE580
analogous
#80C1EF #808AEF #AE80EF
triadic
#808AEF #EF808A #8AEF80
tetradic
#808AEF #EF80C1 #EFE580 #80EFAE
square
#808AEF #EF80C1 #EFE580 #80EFAE
split-complementary
#808AEF #EFAE80 #C1EF80
monochromatic
#1B2CD9 #4A58E8 #808AEF #B6BCF6 #E4E6FC

Accessibility & contrast

On white

3.09
#808AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#808AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AEF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AEF#FFFFFF#000000##000000
##808AEF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#5A8EED
Tritanopia (blue-blind)
#589FB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #808aef;
/* rgb */ color: rgb(128, 138, 239);
/* oklch */ color: oklch(67.0% 0.149 277.3);
Tailwind
colors: {
  custom: {
    50: '#aaacf5',
    500: '#808aef',
    950: '#000000',
  },
}
SCSS
$custom: #808aef;
$custom-light: #aaacf5;
$custom-dark: #000000;
JSON
{
  "hex": "#808aef",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 234.595,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67042,
    "c": 0.14875,
    "h": 277.3
  },
  "luminance": 0.28998
}

Semantic roles & 50–950 ramp

primary
#808AEF
secondary
#F3F1D7
accent
#C70CDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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