#808AFB#808AFB

#808AFB is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.7% C 0.165 H 277.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#808AFB
RGBrgb(128, 138, 251)
HSLhsl(235, 94%, 74%)
HSVhsv(235, 49%, 98%)
CMYKcmyk(49%, 45%, 0%, 1.6%)
CIE-LABlab(61.42, 26.03, -57.71)
CIE-LCHlch(61.42, 63.31, 294.28°)
OKLaboklab(67.74% 0.0208 -0.1639)
OKLCHoklch(67.74% 0.165 277.2)
XYZxyz(35.3977, 29.7291, 95.1212)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AFB #FBF180
analogous
#80C8FB #808AFB #B480FB
triadic
#808AFB #FB808A #8AFB80
tetradic
#808AFB #FB80C8 #FBF180 #80FBB4
square
#808AFB #FB80C8 #FBF180 #80FBB4
split-complementary
#808AFB #FBB480 #C8FB80
monochromatic
#091DF7 #4553F9 #808AFB #BBC1FD #E1E4FE

Accessibility & contrast

On white

3.02
#808AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#808AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AFB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AFB#FFFFFF#000000##000000
##808AFB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A99FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#4FA2B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808afb;
/* rgb */ color: rgb(128, 138, 251);
/* oklch */ color: oklch(67.7% 0.165 277.2);
Tailwind
colors: {
  custom: {
    50: '#acacfd',
    500: '#808afb',
    950: '#000000',
  },
}
SCSS
$custom: #808afb;
$custom-light: #acacfd;
$custom-dark: #000000;
JSON
{
  "hex": "#808afb",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 235.122,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67738,
    "c": 0.16523,
    "h": 277.2
  },
  "luminance": 0.29731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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