#788BEB#788BEB

#788BEB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.5% C 0.144 H 273.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#788BEB
RGBrgb(120, 139, 235)
HSLhsl(230, 74%, 70%)
HSVhsv(230, 49%, 92%)
CMYKcmyk(48.9%, 40.9%, 0%, 7.8%)
CIE-LABlab(60.30, 18.86, -50.70)
CIE-LCHlch(60.30, 54.10, 290.40°)
OKLaboklab(66.47% 0.0086 -0.1436)
OKLCHoklch(66.47% 0.144 273.4)
XYZxyz(31.9690, 28.4545, 82.3889)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BEB #EBD878
analogous
#78C5EB #788BEB #9F78EB
triadic
#788BEB #EB788B #8BEB78
tetradic
#788BEB #EB78C5 #EBD878 #78EB9F
square
#788BEB #EB78C5 #EBD878 #78EB9F
split-complementary
#788BEB #EB9F78 #C5EB78
monochromatic
#1E3BCB #435DE3 #788BEB #ADB9F3 #E3E7FB

Accessibility & contrast

On white

3.14
#788BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#788BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BEB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BEB#FFFFFF#000000##000000
##788BEB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#499FB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #788beb;
/* rgb */ color: rgb(120, 139, 235);
/* oklch */ color: oklch(66.5% 0.144 273.4);
Tailwind
colors: {
  custom: {
    50: '#a5acf2',
    500: '#788beb',
    950: '#000000',
  },
}
SCSS
$custom: #788beb;
$custom-light: #a5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#788beb",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 230.087,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.14382,
    "h": 273.4
  },
  "luminance": 0.28456
}

Semantic roles & 50–950 ramp

primary
#788BEB
secondary
#F0EACF
accent
#B50FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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