#788FE0#788FE0

#788FE0 is a light, vivid blue. Relative luminance 0.290; OKLCH L 66.7% C 0.123 H 270.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#788FE0
RGBrgb(120, 143, 224)
HSLhsl(227, 63%, 67%)
HSVhsv(227, 46%, 88%)
CMYKcmyk(46.4%, 36.2%, 0%, 12.2%)
CIE-LABlab(60.80, 13.22, -43.81)
CIE-LCHlch(60.80, 45.76, 286.79°)
OKLaboklab(66.68% 0.0016 -0.1234)
OKLCHoklch(66.68% 0.123 270.7)
XYZxyz(31.0185, 29.0180, 74.4731)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FE0 #E0C978
analogous
#78C3E0 #788FE0 #9578E0
triadic
#788FE0 #E0788F #8FE078
tetradic
#788FE0 #E078C3 #E0C978 #78E095
square
#788FE0 #E078C3 #E0C978 #78E095
split-complementary
#788FE0 #E09578 #C3E078
monochromatic
#2948B4 #4666D5 #788FE0 #AAB8EB #DCE2F7

Accessibility & contrast

On white

3.09
#788FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#788FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788FE0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FE0#FFFFFF#000000##000000
##788FE01.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E3
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#51A0AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788fe0;
/* rgb */ color: rgb(120, 143, 224);
/* oklch */ color: oklch(66.7% 0.123 270.7);
Tailwind
colors: {
  custom: {
    50: '#a4afea',
    500: '#788fe0',
    950: '#000000',
  },
}
SCSS
$custom: #788fe0;
$custom-light: #a4afea;
$custom-dark: #000000;
JSON
{
  "hex": "#788fe0",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 224
  },
  "hsl": {
    "h": 226.731,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.12342,
    "h": 270.7
  },
  "luminance": 0.2902
}

Semantic roles & 50–950 ramp

primary
#788FE0
secondary
#EAE3CA
accent
#A41BCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #788FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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