#808EC4#808EC4

#808EC4 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.6% C 0.082 H 272.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#808EC4
RGBrgb(128, 142, 196)
HSLhsl(228, 37%, 64%)
HSVhsv(228, 35%, 77%)
CMYKcmyk(34.7%, 27.6%, 0%, 23.1%)
CIE-LABlab(59.82, 8.01, -29.62)
CIE-LCHlch(59.82, 30.68, 285.13°)
OKLaboklab(65.64% 0.004 -0.0823)
OKLCHoklch(65.64% 0.082 272.8)
XYZxyz(28.5360, 27.9196, 56.0993)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EC4 #C4B680
analogous
#80B0C4 #808EC4 #9480C4
triadic
#808EC4 #C4808E #8EC480
tetradic
#808EC4 #C480B0 #C4B680 #80C494
square
#808EC4 #C480B0 #C4B680 #80C494
split-complementary
#808EC4 #C49480 #B0C480
monochromatic
#404F8A #5669B1 #808EC4 #AAB3D7 #D4D8EB

Accessibility & contrast

On white

3.19
#808EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#808EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808EC4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808EC4#FFFFFF#000000##000000
##808EC41.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C6
Deuteranopia (green-blind)
#788EC3
Tritanopia (blue-blind)
#6D99A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #808ec4;
/* rgb */ color: rgb(128, 142, 196);
/* oklch */ color: oklch(65.6% 0.082 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7aed6',
    500: '#808ec4',
    950: '#000000',
  },
}
SCSS
$custom: #808ec4;
$custom-light: #a7aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#808ec4",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 227.647,
    "s": 36.559,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65643,
    "c": 0.08237,
    "h": 272.8
  },
  "luminance": 0.27921
}

Semantic roles & 50–950 ramp

primary
#808EC4
secondary
#DCD7C4
accent
#9636AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #808EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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