#808AFF#808AFF

#808AFF is a light, vivid blue. Relative luminance 0.300; OKLCH L 68.0% C 0.171 H 277.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#808AFF
RGBrgb(128, 138, 255)
HSLhsl(235, 100%, 75%)
HSVhsv(235, 50%, 100%)
CMYKcmyk(49.8%, 45.9%, 0%, 0%)
CIE-LABlab(61.64, 27.22, -59.55)
CIE-LCHlch(61.64, 65.48, 294.57°)
OKLaboklab(67.98% 0.0213 -0.1693)
OKLCHoklch(67.98% 0.171 277.2)
XYZxyz(36.0349, 29.9840, 98.4770)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AFF #FFF580
analogous
#80C9FF #808AFF #B680FF
triadic
#808AFF #FF808A #8AFF80
tetradic
#808AFF #FF80C9 #FFF580 #80FFB6
square
#808AFF #FF80C9 #FFF580 #80FFB6
split-complementary
#808AFF #FFB680 #C9FF80
monochromatic
#0619FF #4352FF #808AFF #BDC2FF #E0E3FF

Accessibility & contrast

On white

3.00
#808AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#808AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808AFF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AFF#FFFFFF#000000##000000
##808AFF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#4CA3B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #808aff;
/* rgb */ color: rgb(128, 138, 255);
/* oklch */ color: oklch(68.0% 0.171 277.2);
Tailwind
colors: {
  custom: {
    50: '#acacff',
    500: '#808aff',
    950: '#000000',
  },
}
SCSS
$custom: #808aff;
$custom-light: #acacff;
$custom-dark: #000000;
JSON
{
  "hex": "#808aff",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 235.276,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67977,
    "c": 0.17065,
    "h": 277.2
  },
  "luminance": 0.29986
}

Semantic roles & 50–950 ramp

primary
#808AFF
secondary
#F7F5D4
accent
#D300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #808AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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