#808AEC#808AEC

#808AEC is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.9% C 0.145 H 277.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#808AEC
RGBrgb(128, 138, 236)
HSLhsl(234, 74%, 71%)
HSVhsv(234, 46%, 93%)
CMYKcmyk(45.8%, 41.5%, 0%, 7.5%)
CIE-LABlab(60.62, 21.60, -50.71)
CIE-LCHlch(60.62, 55.11, 293.07°)
OKLaboklab(66.87% 0.0184 -0.1434)
OKLCHoklch(66.87% 0.145 277.3)
XYZxyz(33.1263, 28.8205, 83.1580)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AEC #ECE280
analogous
#80C0EC #808AEC #AC80EC
triadic
#808AEC #EC808A #8AEC80
tetradic
#808AEC #EC80C0 #ECE280 #80ECAC
square
#808AEC #EC80C0 #ECE280 #80ECAC
split-complementary
#808AEC #ECAC80 #C0EC80
monochromatic
#1F30D2 #4B59E4 #808AEC #B5BBF4 #E4E6FB

Accessibility & contrast

On white

3.10
#808AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#808AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AEC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AEC#FFFFFF#000000##000000
##808AEC1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#5A9EB0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #808aec;
/* rgb */ color: rgb(128, 138, 236);
/* oklch */ color: oklch(66.9% 0.145 277.3);
Tailwind
colors: {
  custom: {
    50: '#aaacf2',
    500: '#808aec',
    950: '#000000',
  },
}
SCSS
$custom: #808aec;
$custom-light: #aaacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#808aec",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 234.444,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66873,
    "c": 0.14459,
    "h": 277.3
  },
  "luminance": 0.28822
}

Semantic roles & 50–950 ramp

primary
#808AEC
secondary
#F2EFD6
accent
#C40FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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