#808DCC#808DCC

#808DCC is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.8% C 0.095 H 274.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#808DCC
RGBrgb(128, 141, 204)
HSLhsl(230, 43%, 65%)
HSVhsv(230, 37%, 80%)
CMYKcmyk(37.3%, 30.9%, 0%, 20%)
CIE-LABlab(59.89, 10.76, -34.01)
CIE-LCHlch(59.89, 35.67, 287.55°)
OKLaboklab(65.81% 0.0076 -0.0949)
OKLCHoklch(65.81% 0.095 274.6)
XYZxyz(29.3229, 27.9974, 60.9740)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808DCC #CCBF80
analogous
#80B3CC #808DCC #9980CC
triadic
#808DCC #CC808D #8DCC80
tetradic
#808DCC #CC80B3 #CCBF80 #80CC99
square
#808DCC #CC80B3 #CCBF80 #80CC99
split-complementary
#808DCC #CC9980 #B3CC80
monochromatic
#3C4B96 #5466BA #808DCC #ACB4DE #D7DBEF

Accessibility & contrast

On white

3.18
#808DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#808DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808DCC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808DCC#FFFFFF#000000##000000
##808DCC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#738DCB
Tritanopia (blue-blind)
#6999A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #808dcc;
/* rgb */ color: rgb(128, 141, 204);
/* oklch */ color: oklch(65.8% 0.095 274.6);
Tailwind
colors: {
  custom: {
    50: '#a7aedb',
    500: '#808dcc',
    950: '#000000',
  },
}
SCSS
$custom: #808dcc;
$custom-light: #a7aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#808dcc",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 229.737,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65809,
    "c": 0.09519,
    "h": 274.6
  },
  "luminance": 0.27999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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