#808CF2#808CF2

#808CF2 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.150 H 276.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#808CF2
RGBrgb(128, 140, 242)
HSLhsl(234, 81%, 73%)
HSVhsv(234, 47%, 95%)
CMYKcmyk(47.1%, 42.1%, 0%, 5.1%)
CIE-LABlab(61.44, 22.18, -52.72)
CIE-LCHlch(61.44, 57.20, 292.82°)
OKLaboklab(67.6% 0.0171 -0.1493)
OKLCHoklch(67.6% 0.15 276.5)
XYZxyz(34.3022, 29.7543, 87.9229)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808CF2 #F2E680
analogous
#80C5F2 #808CF2 #AD80F2
triadic
#808CF2 #F2808C #8CF280
tetradic
#808CF2 #F280C5 #F2E680 #80F2AD
square
#808CF2 #F280C5 #F2E680 #80F2AD
split-complementary
#808CF2 #F2AD80 #C5F280
monochromatic
#172CE1 #485AEC #808CF2 #B8BEF8 #E3E6FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808CF2#FFFFFF#000000##000000
##808CF21.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)
#6499F6
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#56A1B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #808cf2;
/* rgb */ color: rgb(128, 140, 242);
/* oklch */ color: oklch(67.6% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#abadf7',
    500: '#808cf2',
    950: '#000000',
  },
}
SCSS
$custom: #808cf2;
$custom-light: #abadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#808cf2",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 233.684,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.15027,
    "h": 276.5
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #808CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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