#808DEF#808DEF

#808DEF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.6% C 0.145 H 276.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#808DEF
RGBrgb(128, 141, 239)
HSLhsl(233, 78%, 72%)
HSVhsv(233, 46%, 94%)
CMYKcmyk(46.4%, 41%, 0%, 6.3%)
CIE-LABlab(61.54, 20.71, -50.91)
CIE-LCHlch(61.54, 54.96, 292.14°)
OKLaboklab(67.62% 0.0154 -0.144)
OKLCHoklch(67.62% 0.145 276.1)
XYZxyz(34.0021, 29.8691, 85.6183)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808DEF #EFE280
analogous
#80C5EF #808DEF #AB80EF
triadic
#808DEF #EF808D #8DEF80
tetradic
#808DEF #EF80C5 #EFE280 #80EFAB
square
#808DEF #EF80C5 #EFE280 #80EFAB
split-complementary
#808DEF #EFAB80 #C5EF80
monochromatic
#1B32D9 #4A5CE8 #808DEF #B6BEF6 #E4E7FC

Accessibility & contrast

On white

3.01
#808DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#808DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808DEF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808DEF#FFFFFF#000000##000000
##808DEF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#5E90ED
Tritanopia (blue-blind)
#57A1B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #808def;
/* rgb */ color: rgb(128, 141, 239);
/* oklch */ color: oklch(67.6% 0.145 276.1);
Tailwind
colors: {
  custom: {
    50: '#aaaef5',
    500: '#808def',
    950: '#000000',
  },
}
SCSS
$custom: #808def;
$custom-light: #aaaef5;
$custom-dark: #000000;
JSON
{
  "hex": "#808def",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 232.973,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.1448,
    "h": 276.1
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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