#808EC3#808EC3

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

Color values

HEX#808EC3
RGBrgb(128, 142, 195)
HSLhsl(227, 36%, 63%)
HSVhsv(227, 34%, 76%)
CMYKcmyk(34.4%, 27.2%, 0%, 23.5%)
CIE-LABlab(59.77, 7.74, -29.12)
CIE-LCHlch(59.77, 30.13, 284.89°)
OKLaboklab(65.6% 0.0037 -0.0808)
OKLCHoklch(65.6% 0.081 272.6)
XYZxyz(28.4226, 27.8742, 55.5019)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EC3 #C3B580
analogous
#80AFC3 #808EC3 #9380C3
triadic
#808EC3 #C3808E #8EC380
tetradic
#808EC3 #C380AF #C3B580 #80C393
square
#808EC3 #C380AF #C3B580 #80C393
split-complementary
#808EC3 #C39380 #AFC380
monochromatic
#404F88 #5669AF #808EC3 #AAB3D7 #D3D8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808EC3#FFFFFF#000000##000000
##808EC31.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #808ec3;
/* rgb */ color: rgb(128, 142, 195);
/* oklch */ color: oklch(65.6% 0.081 272.6);
Tailwind
colors: {
  custom: {
    50: '#a7aed5',
    500: '#808ec3',
    950: '#000000',
  },
}
SCSS
$custom: #808ec3;
$custom-light: #a7aed5;
$custom-dark: #000000;
JSON
{
  "hex": "#808ec3",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 227.463,
    "s": 35.829,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65598,
    "c": 0.08092,
    "h": 272.6
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#808EC3
secondary
#DBD6C3
accent
#9637AF
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #808EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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