#8087DC#8087DC

#8087DC is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.4% C 0.126 H 278.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8087DC
RGBrgb(128, 135, 220)
HSLhsl(235, 57%, 68%)
HSVhsv(235, 42%, 86%)
CMYKcmyk(41.8%, 38.6%, 0%, 13.7%)
CIE-LABlab(59.05, 18.74, -44.29)
CIE-LCHlch(59.05, 48.09, 292.94°)
OKLaboklab(65.41% 0.0191 -0.1247)
OKLCHoklch(65.41% 0.126 278.7)
XYZxyz(30.4805, 27.0831, 71.3178)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8087DC #DCD580
analogous
#80B5DC #8087DC #A780DC
triadic
#8087DC #DC8087 #87DC80
tetradic
#8087DC #DC80B5 #DCD580 #80DCA7
square
#8087DC #DC80B5 #DCD580 #80DCA7
split-complementary
#8087DC #DCA780 #B5DC80
monochromatic
#313AB1 #505ACF #8087DC #B0B4E9 #E0E2F6

Accessibility & contrast

On white

3.27
#8087DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8087DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8087DC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8087DC#FFFFFF#000000##000000
##8087DC1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DF
Deuteranopia (green-blind)
#638BDA
Tritanopia (blue-blind)
#6398A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8087dc;
/* rgb */ color: rgb(128, 135, 220);
/* oklch */ color: oklch(65.4% 0.126 278.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9e7',
    500: '#8087dc',
    950: '#000000',
  },
}
SCSS
$custom: #8087dc;
$custom-light: #a9a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8087dc",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 235.435,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.12616,
    "h": 278.7
  },
  "luminance": 0.27084
}

Semantic roles & 50–950 ramp

primary
#8087DC
secondary
#EAE8CE
accent
#B821C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #8087DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8087DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva