#808ECA#808ECA

#808ECA is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.9% C 0.091 H 273.6°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#808ECA
RGBrgb(128, 142, 202)
HSLhsl(229, 41%, 65%)
HSVhsv(229, 37%, 79%)
CMYKcmyk(36.6%, 29.7%, 0%, 20.8%)
CIE-LABlab(60.07, 9.63, -32.61)
CIE-LCHlch(60.07, 34.00, 286.45°)
OKLaboklab(65.92% 0.0057 -0.0908)
OKLCHoklch(65.92% 0.091 273.6)
XYZxyz(29.2326, 28.1983, 59.7682)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808ECA #CABC80
analogous
#80B3CA #808ECA #9780CA
triadic
#808ECA #CA808E #8ECA80
tetradic
#808ECA #CA80B3 #CABC80 #80CA97
square
#808ECA #CA80B3 #CABC80 #80CA97
split-complementary
#808ECA #CA9780 #B3CA80
monochromatic
#3D4D92 #5568B8 #808ECA #ABB4DC #D6DBEE

Accessibility & contrast

On white

3.16
#808ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#808ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808ECA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808ECA#FFFFFF#000000##000000
##808ECA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#6A9AA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #808eca;
/* rgb */ color: rgb(128, 142, 202);
/* oklch */ color: oklch(65.9% 0.091 273.6);
Tailwind
colors: {
  custom: {
    50: '#a7aeda',
    500: '#808eca',
    950: '#000000',
  },
}
SCSS
$custom: #808eca;
$custom-light: #a7aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#808eca",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 228.649,
    "s": 41.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65921,
    "c": 0.09103,
    "h": 273.6
  },
  "luminance": 0.28199
}

Semantic roles & 50–950 ramp

primary
#808ECA
secondary
#E0DBC6
accent
#9B31B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #808ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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