#788CE2#788CE2

#788CE2 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.2% C 0.130 H 272.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#788CE2
RGBrgb(120, 140, 226)
HSLhsl(229, 65%, 68%)
HSVhsv(229, 47%, 89%)
CMYKcmyk(46.9%, 38.1%, 0%, 11.4%)
CIE-LABlab(60.10, 15.57, -46.01)
CIE-LCHlch(60.10, 48.58, 288.70°)
OKLaboklab(66.17% 0.0057 -0.1298)
OKLCHoklch(66.17% 0.13 272.5)
XYZxyz(30.8470, 28.2384, 75.7619)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CE2 #E2CE78
analogous
#78C1E2 #788CE2 #9978E2
triadic
#788CE2 #E2788C #8CE278
tetradic
#788CE2 #E278C1 #E2CE78 #78E299
square
#788CE2 #E278C1 #E2CE78 #78E299
split-complementary
#788CE2 #E29978 #C1E278
monochromatic
#2843B8 #4661D7 #788CE2 #AAB7ED #DDE2F8

Accessibility & contrast

On white

3.16
#788CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#788CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CE2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CE2#FFFFFF#000000##000000
##788CE21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E5
Deuteranopia (green-blind)
#628DE0
Tritanopia (blue-blind)
#509EAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #788ce2;
/* rgb */ color: rgb(120, 140, 226);
/* oklch */ color: oklch(66.2% 0.130 272.5);
Tailwind
colors: {
  custom: {
    50: '#a4adeb',
    500: '#788ce2',
    950: '#000000',
  },
}
SCSS
$custom: #788ce2;
$custom-light: #a4adeb;
$custom-dark: #000000;
JSON
{
  "hex": "#788ce2",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 228.679,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.12997,
    "h": 272.5
  },
  "luminance": 0.2824
}

Semantic roles & 50–950 ramp

primary
#788CE2
secondary
#EBE5CB
accent
#AB19CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #788CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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