#808EC2#808EC2

#808EC2 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.6% C 0.079 H 272.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#808EC2
RGBrgb(128, 142, 194)
HSLhsl(227, 35%, 63%)
HSVhsv(227, 34%, 76%)
CMYKcmyk(34%, 26.8%, 0%, 23.9%)
CIE-LABlab(59.73, 7.48, -28.62)
CIE-LCHlch(59.73, 29.58, 284.64°)
OKLaboklab(65.55% 0.0034 -0.0794)
OKLCHoklch(65.55% 0.079 272.4)
XYZxyz(28.3099, 27.8292, 54.9084)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EC2 #C2B480
analogous
#80AFC2 #808EC2 #9380C2
triadic
#808EC2 #C2808E #8EC280
tetradic
#808EC2 #C280AF #C2B480 #80C293
square
#808EC2 #C280AF #C2B480 #80C293
split-complementary
#808EC2 #C29380 #AFC280
monochromatic
#415087 #5769AE #808EC2 #A9B3D6 #D3D8EA

Accessibility & contrast

On white

3.20
#808EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#808EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808EC2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808EC2#FFFFFF#000000##000000
##808EC21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#6D98A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #808ec2;
/* rgb */ color: rgb(128, 142, 194);
/* oklch */ color: oklch(65.6% 0.079 272.4);
Tailwind
colors: {
  custom: {
    50: '#a6aed4',
    500: '#808ec2',
    950: '#000000',
  },
}
SCSS
$custom: #808ec2;
$custom-light: #a6aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#808ec2",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 227.273,
    "s": 35.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65553,
    "c": 0.07947,
    "h": 272.4
  },
  "luminance": 0.2783
}

Semantic roles & 50–950 ramp

primary
#808EC2
secondary
#DBD6C3
accent
#9538AE
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #808EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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