#788DED#788DED

#788DED is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.0% C 0.144 H 272.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#788DED
RGBrgb(120, 141, 237)
HSLhsl(229, 76%, 70%)
HSVhsv(229, 49%, 93%)
CMYKcmyk(49.4%, 40.5%, 0%, 7.1%)
CIE-LABlab(60.92, 18.28, -50.82)
CIE-LCHlch(60.92, 54.01, 289.78°)
OKLaboklab(66.98% 0.0067 -0.1439)
OKLCHoklch(66.98% 0.144 272.6)
XYZxyz(32.5518, 29.1552, 84.0166)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DED #EDD878
analogous
#78C7ED #788DED #9E78ED
triadic
#788DED #ED788D #8DED78
tetradic
#788DED #ED78C7 #EDD878 #78ED9E
square
#788DED #ED78C7 #EDD878 #78ED9E
split-complementary
#788DED #ED9E78 #C7ED78
monochromatic
#1C3CCF #425FE6 #788DED #AEBBF4 #E4E8FB

Accessibility & contrast

On white

3.07
#788DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#788DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DED
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DED#FFFFFF#000000##000000
##788DED1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#48A1B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788ded;
/* rgb */ color: rgb(120, 141, 237);
/* oklch */ color: oklch(67.0% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#a5aef3',
    500: '#788ded',
    950: '#000000',
  },
}
SCSS
$custom: #788ded;
$custom-light: #a5aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#788ded",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 229.231,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.6698,
    "c": 0.14405,
    "h": 272.6
  },
  "luminance": 0.29157
}

Semantic roles & 50–950 ramp

primary
#788DED
secondary
#F1EBD0
accent
#B40DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788DED

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

Preview Lab → · Contrast checker → · Palette generator →

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