#808CEF#808CEF

#808CEF is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.146 H 276.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#808CEF
RGBrgb(128, 140, 239)
HSLhsl(234, 78%, 72%)
HSVhsv(234, 46%, 94%)
CMYKcmyk(46.4%, 41.4%, 0%, 6.3%)
CIE-LABlab(61.29, 21.30, -51.31)
CIE-LCHlch(61.29, 55.56, 292.55°)
OKLaboklab(67.43% 0.0166 -0.1452)
OKLCHoklch(67.43% 0.146 276.5)
XYZxyz(33.8554, 29.5755, 85.5693)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CEF #EFE380
analogous
#80C3EF #808CEF #AC80EF
triadic
#808CEF #EF808C #8CEF80
tetradic
#808CEF #EF80C3 #EFE380 #80EFAC
square
#808CEF #EF80C3 #EFE380 #80EFAC
split-complementary
#808CEF #EFAC80 #C3EF80
monochromatic
#1B30D9 #4A5BE8 #808CEF #B6BDF6 #E4E6FC

Accessibility & contrast

On white

3.04
#808CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#808CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808CEF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808CEF#FFFFFF#000000##000000
##808CEF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#58A1B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808cef;
/* rgb */ color: rgb(128, 140, 239);
/* oklch */ color: oklch(67.4% 0.146 276.5);
Tailwind
colors: {
  custom: {
    50: '#aaadf5',
    500: '#808cef',
    950: '#000000',
  },
}
SCSS
$custom: #808cef;
$custom-light: #aaadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#808cef",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 233.514,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6743,
    "c": 0.14611,
    "h": 276.5
  },
  "luminance": 0.29577
}

Semantic roles & 50–950 ramp

primary
#808CEF
secondary
#F3F0D7
accent
#C40CDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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