#788BF0#788BF0

#788BF0 is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.8% C 0.151 H 273.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#788BF0
RGBrgb(120, 139, 240)
HSLhsl(231, 80%, 71%)
HSVhsv(231, 50%, 94%)
CMYKcmyk(50%, 42.1%, 0%, 5.9%)
CIE-LABlab(60.56, 20.37, -53.05)
CIE-LCHlch(60.56, 56.83, 291.00°)
OKLaboklab(66.76% 0.0095 -0.1504)
OKLCHoklch(66.76% 0.151 273.6)
XYZxyz(32.7015, 28.7475, 86.2468)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BF0 #F0DD78
analogous
#78C7F0 #788BF0 #A178F0
triadic
#788BF0 #F0788B #8BF078
tetradic
#788BF0 #F078C7 #F0DD78 #78F0A1
square
#788BF0 #F078C7 #F0DD78 #78F0A1
split-complementary
#788BF0 #F0A178 #C7F078
monochromatic
#1836D6 #415CEA #788BF0 #AFBAF6 #E3E7FC

Accessibility & contrast

On white

3.11
#788BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#788BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BF0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BF0#FFFFFF#000000##000000
##788BF01.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F4
Deuteranopia (green-blind)
#568DEE
Tritanopia (blue-blind)
#45A1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788bf0;
/* rgb */ color: rgb(120, 139, 240);
/* oklch */ color: oklch(66.8% 0.151 273.6);
Tailwind
colors: {
  custom: {
    50: '#a6acf5',
    500: '#788bf0',
    950: '#000000',
  },
}
SCSS
$custom: #788bf0;
$custom-light: #a6acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#788bf0",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 230.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.15074,
    "h": 273.6
  },
  "luminance": 0.2875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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