#808FEF#808FEF

#808FEF is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.0% C 0.142 H 275.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#808FEF
RGBrgb(128, 143, 239)
HSLhsl(232, 78%, 72%)
HSVhsv(232, 46%, 94%)
CMYKcmyk(46.4%, 40.2%, 0%, 6.3%)
CIE-LABlab(62.05, 19.54, -50.10)
CIE-LCHlch(62.05, 53.77, 291.31°)
OKLaboklab(68.02% 0.013 -0.1416)
OKLCHoklch(68.02% 0.142 275.3)
XYZxyz(34.2997, 30.4642, 85.7175)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808FEF #EFE080
analogous
#80C7EF #808FEF #A980EF
triadic
#808FEF #EF808F #8FEF80
tetradic
#808FEF #EF80C7 #EFE080 #80EFA9
square
#808FEF #EF80C7 #EFE080 #80EFA9
split-complementary
#808FEF #EFA980 #C7EF80
monochromatic
#1B35D9 #4A5FE8 #808FEF #B6BFF6 #E4E7FC

Accessibility & contrast

On white

2.96
#808FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#808FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808FEF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808FEF#FFFFFF#000000##000000
##808FEF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#57A3B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #808fef;
/* rgb */ color: rgb(128, 143, 239);
/* oklch */ color: oklch(68.0% 0.142 275.3);
Tailwind
colors: {
  custom: {
    50: '#aaaff5',
    500: '#808fef',
    950: '#000000',
  },
}
SCSS
$custom: #808fef;
$custom-light: #aaaff5;
$custom-dark: #000000;
JSON
{
  "hex": "#808fef",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 231.892,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68016,
    "c": 0.1422,
    "h": 275.3
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

primary
#808FEF
secondary
#F3F0D7
accent
#BE0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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