#788BFD#788BFD

#788BFD is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.169 H 273.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#788BFD
RGBrgb(120, 139, 253)
HSLhsl(231, 97%, 73%)
HSVhsv(231, 53%, 99%)
CMYKcmyk(52.6%, 45.1%, 0%, 0.8%)
CIE-LABlab(61.26, 24.34, -59.09)
CIE-LCHlch(61.26, 63.90, 292.39°)
OKLaboklab(67.52% 0.0115 -0.1681)
OKLCHoklch(67.52% 0.169 273.9)
XYZxyz(34.7023, 29.5478, 96.7841)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BFD #FDEA78
analogous
#78CDFD #788BFD #A878FD
triadic
#788BFD #FD788B #8BFD78
tetradic
#788BFD #FD78CD #FDEA78 #78FDA8
square
#788BFD #FD78CD #FDEA78 #78FDA8
split-complementary
#788BFD #FDA878 #CDFD78
monochromatic
#0426F7 #3C57FC #788BFD #B4BFFE #E1E5FF

Accessibility & contrast

On white

3.04
#788BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#788BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BFD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BFD#FFFFFF#000000##000000
##788BFD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#39A4B8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788bfd;
/* rgb */ color: rgb(120, 139, 253);
/* oklch */ color: oklch(67.5% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7acff',
    500: '#788bfd',
    950: '#000000',
  },
}
SCSS
$custom: #788bfd;
$custom-light: #a7acff;
$custom-dark: #000000;
JSON
{
  "hex": "#788bfd",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 231.429,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6752,
    "c": 0.16853,
    "h": 273.9
  },
  "luminance": 0.2955
}

Semantic roles & 50–950 ramp

primary
#788BFD
secondary
#F7F2D4
accent
#C500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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