#788EE2#788EE2

#788EE2 is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.6% C 0.127 H 271.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#788EE2
RGBrgb(120, 142, 226)
HSLhsl(228, 65%, 68%)
HSVhsv(228, 47%, 89%)
CMYKcmyk(46.9%, 37.2%, 0%, 11.4%)
CIE-LABlab(60.63, 14.40, -45.18)
CIE-LCHlch(60.63, 47.42, 287.67°)
OKLaboklab(66.58% 0.0033 -0.1274)
OKLCHoklch(66.58% 0.127 271.5)
XYZxyz(31.1419, 28.8282, 75.8602)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EE2 #E2CC78
analogous
#78C3E2 #788EE2 #9778E2
triadic
#788EE2 #E2788E #8EE278
tetradic
#788EE2 #E278C3 #E2CC78 #78E297
square
#788EE2 #E278C3 #E2CC78 #78E297
split-complementary
#788EE2 #E29778 #C3E278
monochromatic
#2846B8 #4664D7 #788EE2 #AAB8ED #DDE2F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788EE2#FFFFFF#000000##000000
##788EE21.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)
#6F97E5
Deuteranopia (green-blind)
#648EE0
Tritanopia (blue-blind)
#4FA0AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788ee2;
/* rgb */ color: rgb(120, 142, 226);
/* oklch */ color: oklch(66.6% 0.127 271.5);
Tailwind
colors: {
  custom: {
    50: '#a4aeeb',
    500: '#788ee2',
    950: '#000000',
  },
}
SCSS
$custom: #788ee2;
$custom-light: #a4aeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#788ee2",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 227.547,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.12746,
    "h": 271.5
  },
  "luminance": 0.2883
}

Semantic roles & 50–950 ramp

primary
#788EE2
secondary
#EBE4CB
accent
#A719CC
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #788EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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