#808ECF#808ECF

#808ECF is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.2% C 0.098 H 274.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#808ECF
RGBrgb(128, 142, 207)
HSLhsl(229, 45%, 66%)
HSVhsv(229, 38%, 81%)
CMYKcmyk(38.2%, 31.4%, 0%, 18.8%)
CIE-LABlab(60.28, 11.00, -35.08)
CIE-LCHlch(60.28, 36.76, 287.41°)
OKLaboklab(66.16% 0.0071 -0.098)
OKLCHoklch(66.16% 0.098 274.1)
XYZxyz(29.8342, 28.4389, 62.9367)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808ECF #CFC180
analogous
#80B5CF #808ECF #9980CF
triadic
#808ECF #CF808E #8ECF80
tetradic
#808ECF #CF80B5 #CFC180 #80CF99
square
#808ECF #CF80B5 #CFC180 #80CF99
split-complementary
#808ECF #CF9980 #B5CF80
monochromatic
#3A4B9A #5466BE #808ECF #ACB6E0 #D9DDF1

Accessibility & contrast

On white

3.14
#808ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#808ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808ECF
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808ECF#FFFFFF#000000##000000
##808ECF1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#728ECD
Tritanopia (blue-blind)
#689BA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #808ecf;
/* rgb */ color: rgb(128, 142, 207);
/* oklch */ color: oklch(66.2% 0.098 274.1);
Tailwind
colors: {
  custom: {
    50: '#a7aede',
    500: '#808ecf',
    950: '#000000',
  },
}
SCSS
$custom: #808ecf;
$custom-light: #a7aede;
$custom-dark: #000000;
JSON
{
  "hex": "#808ecf",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 229.367,
    "s": 45.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66159,
    "c": 0.09822,
    "h": 274.1
  },
  "luminance": 0.2844
}

Semantic roles & 50–950 ramp

primary
#808ECF
secondary
#E3DEC8
accent
#A02DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #808ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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