#808ECD#808ECD

#808ECD is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.1% C 0.095 H 273.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#808ECD
RGBrgb(128, 142, 205)
HSLhsl(229, 44%, 65%)
HSVhsv(229, 38%, 80%)
CMYKcmyk(37.6%, 30.7%, 0%, 19.6%)
CIE-LABlab(60.20, 10.45, -34.09)
CIE-LCHlch(60.20, 35.66, 287.04°)
OKLaboklab(66.06% 0.0065 -0.0951)
OKLCHoklch(66.06% 0.095 273.9)
XYZxyz(29.5913, 28.3417, 61.6571)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808ECD #CDBF80
analogous
#80B4CD #808ECD #9880CD
triadic
#808ECD #CD808E #8ECD80
tetradic
#808ECD #CD80B4 #CDBF80 #80CD98
square
#808ECD #CD80B4 #CDBF80 #80CD98
split-complementary
#808ECD #CD9880 #B4CD80
monochromatic
#3B4C97 #5467BC #808ECD #ACB5DE #D8DCF0

Accessibility & contrast

On white

3.15
#808ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#808ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808ECD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808ECD#FFFFFF#000000##000000
##808ECD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#699AA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #808ecd;
/* rgb */ color: rgb(128, 142, 205);
/* oklch */ color: oklch(66.1% 0.095 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7aedc',
    500: '#808ecd',
    950: '#000000',
  },
}
SCSS
$custom: #808ecd;
$custom-light: #a7aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#808ecd",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 229.091,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66063,
    "c": 0.09534,
    "h": 273.9
  },
  "luminance": 0.28343
}

Semantic roles & 50–950 ramp

primary
#808ECD
secondary
#E1DDC7
accent
#9E2FB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #808ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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