#788AEA#788AEA

#788AEA is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.2% C 0.144 H 273.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#788AEA
RGBrgb(120, 138, 234)
HSLhsl(231, 73%, 69%)
HSVhsv(231, 49%, 92%)
CMYKcmyk(48.7%, 41%, 0%, 8.2%)
CIE-LABlab(59.99, 19.15, -50.64)
CIE-LCHlch(59.99, 54.14, 290.71°)
OKLaboklab(66.22% 0.0096 -0.1434)
OKLCHoklch(66.22% 0.144 273.8)
XYZxyz(31.6808, 28.1086, 81.5821)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788AEA #EAD878
analogous
#78C3EA #788AEA #9F78EA
triadic
#788AEA #EA788A #8AEA78
tetradic
#788AEA #EA78C3 #EAD878 #78EA9F
square
#788AEA #EA78C3 #EAD878 #78EA9F
split-complementary
#788AEA #EA9F78 #C3EA78
monochromatic
#1F3AC8 #435CE2 #788AEA #ADB8F2 #E2E6FA

Accessibility & contrast

On white

3.17
#788AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#788AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788AEA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788AEA#FFFFFF#000000##000000
##788AEA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#4A9EAF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #788aea;
/* rgb */ color: rgb(120, 138, 234);
/* oklch */ color: oklch(66.2% 0.144 273.8);
Tailwind
colors: {
  custom: {
    50: '#a5abf1',
    500: '#788aea',
    950: '#000000',
  },
}
SCSS
$custom: #788aea;
$custom-light: #a5abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#788aea",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 230.526,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.14371,
    "h": 273.8
  },
  "luminance": 0.28111
}

Semantic roles & 50–950 ramp

primary
#788AEA
secondary
#EFEACE
accent
#B610D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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