#808EF2#808EF2

#808EF2 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.148 H 275.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#808EF2
RGBrgb(128, 142, 242)
HSLhsl(233, 81%, 73%)
HSVhsv(233, 47%, 95%)
CMYKcmyk(47.1%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.95, 21.01, -51.91)
CIE-LCHlch(61.95, 56.01, 292.03°)
OKLaboklab(67.99% 0.0148 -0.1469)
OKLCHoklch(67.99% 0.148 275.7)
XYZxyz(34.5971, 30.3441, 88.0212)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808EF2 #F2E480
analogous
#80C7F2 #808EF2 #AB80F2
triadic
#808EF2 #F2808E #8EF280
tetradic
#808EF2 #F280C7 #F2E480 #80F2AB
square
#808EF2 #F280C7 #F2E480 #80F2AB
split-complementary
#808EF2 #F2AB80 #C7F280
monochromatic
#1730E1 #485DEC #808EF2 #B8BFF8 #E3E6FC

Accessibility & contrast

On white

2.97
#808EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#808EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #808EF2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808EF2#FFFFFF#000000##000000
##808EF21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#55A3B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #808ef2;
/* rgb */ color: rgb(128, 142, 242);
/* oklch */ color: oklch(68.0% 0.148 275.7);
Tailwind
colors: {
  custom: {
    50: '#aaaef7',
    500: '#808ef2',
    950: '#000000',
  },
}
SCSS
$custom: #808ef2;
$custom-light: #aaaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#808ef2",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 232.632,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67987,
    "c": 0.14766,
    "h": 275.7
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#808EF2
secondary
#F4F0D7
accent
#C408DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #808EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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