#788CF0#788CF0

#788CF0 is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.0% C 0.149 H 273.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#788CF0
RGBrgb(120, 140, 240)
HSLhsl(230, 80%, 71%)
HSVhsv(230, 50%, 94%)
CMYKcmyk(50%, 41.7%, 0%, 5.9%)
CIE-LABlab(60.82, 19.78, -52.65)
CIE-LCHlch(60.82, 56.24, 290.59°)
OKLaboklab(66.95% 0.0083 -0.1492)
OKLCHoklch(66.95% 0.149 273.2)
XYZxyz(32.8470, 29.0384, 86.2953)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CF0 #F0DC78
analogous
#78C8F0 #788CF0 #A078F0
triadic
#788CF0 #F0788C #8CF078
tetradic
#788CF0 #F078C8 #F0DC78 #78F0A0
square
#788CF0 #F078C8 #F0DC78 #78F0A0
split-complementary
#788CF0 #F0A078 #C8F078
monochromatic
#1837D6 #415DEA #788CF0 #AFBBF6 #E3E8FC

Accessibility & contrast

On white

3.08
#788CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#788CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CF0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CF0#FFFFFF#000000##000000
##788CF01.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#45A1B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788cf0;
/* rgb */ color: rgb(120, 140, 240);
/* oklch */ color: oklch(67.0% 0.149 273.2);
Tailwind
colors: {
  custom: {
    50: '#a6adf5',
    500: '#788cf0',
    950: '#000000',
  },
}
SCSS
$custom: #788cf0;
$custom-light: #a6adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#788cf0",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 230,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66952,
    "c": 0.14947,
    "h": 273.2
  },
  "luminance": 0.29041
}

Semantic roles & 50–950 ramp

primary
#788CF0
secondary
#F2EDD2
accent
#B909DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788CF0

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

Preview Lab → · Contrast checker → · Palette generator →

#788CF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva