#808ECC#808ECC

#808ECC is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.0% C 0.094 H 273.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#808ECC
RGBrgb(128, 142, 204)
HSLhsl(229, 43%, 65%)
HSVhsv(229, 37%, 80%)
CMYKcmyk(37.3%, 30.4%, 0%, 20%)
CIE-LABlab(60.15, 10.17, -33.60)
CIE-LCHlch(60.15, 35.10, 286.85°)
OKLaboklab(66.02% 0.0063 -0.0937)
OKLCHoklch(66.02% 0.094 273.8)
XYZxyz(29.4710, 28.2936, 61.0234)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808ECC #CCBE80
analogous
#80B4CC #808ECC #9880CC
triadic
#808ECC #CC808E #8ECC80
tetradic
#808ECC #CC80B4 #CCBE80 #80CC98
square
#808ECC #CC80B4 #CCBE80 #80CC98
split-complementary
#808ECC #CC9880 #B4CC80
monochromatic
#3C4D96 #5467BA #808ECC #ACB5DE #D7DCEF

Accessibility & contrast

On white

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

On black

6.66
#808ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808ECC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808ECC#FFFFFF#000000##000000
##808ECC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#699AA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #808ecc;
/* rgb */ color: rgb(128, 142, 204);
/* oklch */ color: oklch(66.0% 0.094 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7aedb',
    500: '#808ecc',
    950: '#000000',
  },
}
SCSS
$custom: #808ecc;
$custom-light: #a7aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#808ecc",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 228.947,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66016,
    "c": 0.09391,
    "h": 273.8
  },
  "luminance": 0.28295
}

Semantic roles & 50–950 ramp

primary
#808ECC
secondary
#E1DCC7
accent
#9D30B6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #808ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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