#808FEC#808FEC

#808FEC is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.138 H 275.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#808FEC
RGBrgb(128, 143, 236)
HSLhsl(232, 74%, 71%)
HSVhsv(232, 46%, 93%)
CMYKcmyk(45.8%, 39.4%, 0%, 7.5%)
CIE-LABlab(61.90, 18.66, -48.68)
CIE-LCHlch(61.90, 52.13, 290.98°)
OKLaboklab(67.85% 0.0124 -0.1375)
OKLCHoklch(67.85% 0.138 275.2)
XYZxyz(33.8602, 30.2884, 83.4027)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808FEC #ECDD80
analogous
#80C5EC #808FEC #A780EC
triadic
#808FEC #EC808F #8FEC80
tetradic
#808FEC #EC80C5 #ECDD80 #80ECA7
square
#808FEC #EC80C5 #ECDD80 #80ECA7
split-complementary
#808FEC #ECA780 #C5EC80
monochromatic
#1F38D2 #4B60E4 #808FEC #B5BEF4 #E4E8FB

Accessibility & contrast

On white

2.98
#808FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#808FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808FEC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808FEC#FFFFFF#000000##000000
##808FEC1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#6391EA
Tritanopia (blue-blind)
#59A2B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #808fec;
/* rgb */ color: rgb(128, 143, 236);
/* oklch */ color: oklch(67.9% 0.138 275.2);
Tailwind
colors: {
  custom: {
    50: '#aaaff2',
    500: '#808fec',
    950: '#000000',
  },
}
SCSS
$custom: #808fec;
$custom-light: #aaaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#808fec",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 236
  },
  "hsl": {
    "h": 231.667,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67852,
    "c": 0.13802,
    "h": 275.2
  },
  "luminance": 0.3029
}

Semantic roles & 50–950 ramp

primary
#808FEC
secondary
#F2EED6
accent
#BB0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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