#788BF2#788BF2

#788BF2 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.9% C 0.153 H 273.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#788BF2
RGBrgb(120, 139, 242)
HSLhsl(231, 82%, 71%)
HSVhsv(231, 50%, 95%)
CMYKcmyk(50.4%, 42.6%, 0%, 5.1%)
CIE-LABlab(60.66, 20.97, -53.99)
CIE-LCHlch(60.66, 57.92, 291.23°)
OKLaboklab(66.87% 0.0098 -0.1532)
OKLCHoklch(66.87% 0.153 273.7)
XYZxyz(33.0003, 28.8670, 87.8202)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BF2 #F2DF78
analogous
#78C8F2 #788BF2 #A278F2
triadic
#788BF2 #F2788B #8BF278
tetradic
#788BF2 #F278C8 #F2DF78 #78F2A2
square
#788BF2 #F278C8 #F2DF78 #78F2A2
split-complementary
#788BF2 #F2A278 #C8F278
monochromatic
#1534DB #405BED #788BF2 #B0BBF7 #E3E7FC

Accessibility & contrast

On white

3.10
#788BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#788BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BF2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BF2#FFFFFF#000000##000000
##788BF21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#548DF0
Tritanopia (blue-blind)
#44A1B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788bf2;
/* rgb */ color: rgb(120, 139, 242);
/* oklch */ color: oklch(66.9% 0.153 273.7);
Tailwind
colors: {
  custom: {
    50: '#a6acf7',
    500: '#788bf2',
    950: '#000000',
  },
}
SCSS
$custom: #788bf2;
$custom-light: #a6acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#788bf2",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 230.656,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.15349,
    "h": 273.7
  },
  "luminance": 0.28869
}

Semantic roles & 50–950 ramp

primary
#788BF2
secondary
#F3EED3
accent
#BD07DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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