#808AF2#808AF2

#808AF2 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.153 H 277.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#808AF2
RGBrgb(128, 138, 242)
HSLhsl(235, 81%, 73%)
HSVhsv(235, 47%, 95%)
CMYKcmyk(47.1%, 43%, 0%, 5.1%)
CIE-LABlab(60.94, 23.36, -53.53)
CIE-LCHlch(60.94, 58.40, 293.58°)
OKLaboklab(67.21% 0.0194 -0.1517)
OKLCHoklch(67.21% 0.153 277.3)
XYZxyz(34.0126, 29.1751, 87.8263)
Luminance0.2918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808AF2 #F2E880
analogous
#80C3F2 #808AF2 #AF80F2
triadic
#808AF2 #F2808A #8AF280
tetradic
#808AF2 #F280C3 #F2E880 #80F2AF
square
#808AF2 #F280C3 #F2E880 #80F2AF
split-complementary
#808AF2 #F2AF80 #C3F280
monochromatic
#1729E1 #4857EC #808AF2 #B8BDF8 #E3E5FC

Accessibility & contrast

On white

3.07
#808AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#808AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808AF2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808AF2#FFFFFF#000000##000000
##808AF21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#56A0B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #808af2;
/* rgb */ color: rgb(128, 138, 242);
/* oklch */ color: oklch(67.2% 0.153 277.3);
Tailwind
colors: {
  custom: {
    50: '#abacf7',
    500: '#808af2',
    950: '#000000',
  },
}
SCSS
$custom: #808af2;
$custom-light: #abacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#808af2",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 234.737,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67213,
    "c": 0.1529,
    "h": 277.3
  },
  "luminance": 0.29177
}

Semantic roles & 50–950 ramp

primary
#808AF2
secondary
#F4F1D7
accent
#CB08DE
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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