#808CB2#808CB2

#808CB2 is a light, muted blue. Relative luminance 0.266; OKLCH L 64.4% C 0.059 H 271.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#808CB2
RGBrgb(128, 140, 178)
HSLhsl(226, 25%, 60%)
HSVhsv(226, 28%, 70%)
CMYKcmyk(28.1%, 21.3%, 0%, 30.2%)
CIE-LABlab(58.56, 4.48, -21.35)
CIE-LCHlch(58.56, 21.82, 281.85°)
OKLaboklab(64.43% 0.0011 -0.0587)
OKLCHoklch(64.43% 0.059 271)
XYZxyz(26.3139, 26.5589, 45.8508)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CB2 #B2A680
analogous
#80A5B2 #808CB2 #8D80B2
triadic
#808CB2 #B2808C #8CB280
tetradic
#808CB2 #B280A5 #B2A680 #80B28D
square
#808CB2 #B280A5 #B2A680 #80B28D
split-complementary
#808CB2 #B28D80 #A5B280
monochromatic
#455072 #5C6B98 #808CB2 #A6AEC9 #CCD1E0

Accessibility & contrast

On white

3.33
#808CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#808CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808CB2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808CB2#FFFFFF#000000##000000
##808CB21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#739399
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #808cb2;
/* rgb */ color: rgb(128, 140, 178);
/* oklch */ color: oklch(64.4% 0.059 271.0);
Tailwind
colors: {
  custom: {
    50: '#a6adc9',
    500: '#808cb2',
    950: '#000000',
  },
}
SCSS
$custom: #808cb2;
$custom-light: #a6adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#808cb2",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 225.6,
    "s": 24.51,
    "l": 60
  },
  "oklch": {
    "l": 0.64434,
    "c": 0.05875,
    "h": 271
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#808CB2
secondary
#D1CCBD
accent
#AB67C1
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #808CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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