#788CED#788CED

#788CED is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.145 H 273.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#788CED
RGBrgb(120, 140, 237)
HSLhsl(230, 76%, 70%)
HSVhsv(230, 49%, 93%)
CMYKcmyk(49.4%, 40.9%, 0%, 7.1%)
CIE-LABlab(60.66, 18.87, -51.23)
CIE-LCHlch(60.66, 54.60, 290.22°)
OKLaboklab(66.78% 0.0078 -0.1451)
OKLCHoklch(66.78% 0.145 273.1)
XYZxyz(32.4050, 28.8617, 83.9677)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CED #EDD978
analogous
#78C6ED #788CED #9F78ED
triadic
#788CED #ED788C #8CED78
tetradic
#788CED #ED78C6 #EDD978 #78ED9F
square
#788CED #ED78C6 #EDD978 #78ED9F
split-complementary
#788CED #ED9F78 #C6ED78
monochromatic
#1C3ACF #425EE6 #788CED #AEBAF4 #E4E8FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788CED#FFFFFF#000000##000000
##788CED1.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)
#6598F1
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#48A1B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788ced;
/* rgb */ color: rgb(120, 140, 237);
/* oklch */ color: oklch(66.8% 0.145 273.1);
Tailwind
colors: {
  custom: {
    50: '#a5adf3',
    500: '#788ced',
    950: '#000000',
  },
}
SCSS
$custom: #788ced;
$custom-light: #a5adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#788ced",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 229.744,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.14532,
    "h": 273.1
  },
  "luminance": 0.28864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788CED

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

Preview Lab → · Contrast checker → · Palette generator →

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