#788BF5#788BF5

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

Color values

HEX#788BF5
RGBrgb(120, 139, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 51%, 96%)
CMYKcmyk(51%, 43.3%, 0%, 3.9%)
CIE-LABlab(60.82, 21.89, -55.39)
CIE-LCHlch(60.82, 59.56, 291.56°)
OKLaboklab(67.05% 0.0103 -0.1573)
OKLCHoklch(67.05% 0.158 273.7)
XYZxyz(33.4545, 29.0487, 90.2126)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BF5 #F5E278
analogous
#78CAF5 #788BF5 #A478F5
triadic
#788BF5 #F5788B #8BF578
tetradic
#788BF5 #F578CA #F5E278 #78F5A4
square
#788BF5 #F578CA #F5E278 #78F5A4
split-complementary
#788BF5 #F5A478 #CAF578
monochromatic
#1131E2 #3F5AF1 #788BF5 #B1BCF9 #E3E7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788BF5#FFFFFF#000000##000000
##788BF51.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)
#5F98F9
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#41A2B4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788bf5;
/* rgb */ color: rgb(120, 139, 245);
/* oklch */ color: oklch(67.0% 0.158 273.7);
Tailwind
colors: {
  custom: {
    50: '#a6acf9',
    500: '#788bf5',
    950: '#000000',
  },
}
SCSS
$custom: #788bf5;
$custom-light: #a6acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#788bf5",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 230.88,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67045,
    "c": 0.15762,
    "h": 273.7
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#788BF5
secondary
#F4F0D4
accent
#C103E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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