#788BEE#788BEE

#788BEE is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.6% C 0.148 H 273.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#788BEE
RGBrgb(120, 139, 238)
HSLhsl(230, 78%, 70%)
HSVhsv(230, 50%, 93%)
CMYKcmyk(49.6%, 41.6%, 0%, 6.7%)
CIE-LABlab(60.45, 19.76, -52.12)
CIE-LCHlch(60.45, 55.74, 290.77°)
OKLaboklab(66.64% 0.0091 -0.1477)
OKLCHoklch(66.64% 0.148 273.5)
XYZxyz(32.4061, 28.6294, 84.6908)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BEE #EEDB78
analogous
#78C6EE #788BEE #A078EE
triadic
#788BEE #EE788B #8BEE78
tetradic
#788BEE #EE78C6 #EEDB78 #78EEA0
square
#788BEE #EE78C6 #EEDB78 #78EEA0
split-complementary
#788BEE #EEA078 #C6EE78
monochromatic
#1A38D1 #425CE7 #788BEE #AEBAF5 #E4E8FC

Accessibility & contrast

On white

3.12
#788BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#788BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BEE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BEE#FFFFFF#000000##000000
##788BEE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#47A0B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788bee;
/* rgb */ color: rgb(120, 139, 238);
/* oklch */ color: oklch(66.6% 0.148 273.5);
Tailwind
colors: {
  custom: {
    50: '#a5acf4',
    500: '#788bee',
    950: '#000000',
  },
}
SCSS
$custom: #788bee;
$custom-light: #a5acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#788bee",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 230.339,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6664,
    "c": 0.14797,
    "h": 273.5
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#788BEE
secondary
#F1ECD1
accent
#B90CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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