#788DFD#788DFD

#788DFD is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.9% C 0.166 H 273.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#788DFD
RGBrgb(120, 141, 253)
HSLhsl(231, 97%, 73%)
HSVhsv(231, 53%, 99%)
CMYKcmyk(52.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(61.77, 23.16, -58.28)
CIE-LCHlch(61.77, 62.71, 291.67°)
OKLaboklab(67.91% 0.0093 -0.1657)
OKLCHoklch(67.91% 0.166 273.2)
XYZxyz(34.9945, 30.1323, 96.8815)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DFD #FDE878
analogous
#78D0FD #788DFD #A578FD
triadic
#788DFD #FD788D #8DFD78
tetradic
#788DFD #FD78D0 #FDE878 #78FDA5
square
#788DFD #FD78D0 #FDE878 #78FDA5
split-complementary
#788DFD #FDA578 #D0FD78
monochromatic
#042AF7 #3C5AFC #788DFD #B4C0FE #E1E6FF

Accessibility & contrast

On white

2.99
#788DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#788DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788DFD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DFD#FFFFFF#000000##000000
##788DFD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#4D90FB
Tritanopia (blue-blind)
#38A5B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788dfd;
/* rgb */ color: rgb(120, 141, 253);
/* oklch */ color: oklch(67.9% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#a7aeff',
    500: '#788dfd',
    950: '#000000',
  },
}
SCSS
$custom: #788dfd;
$custom-light: #a7aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#788dfd",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 230.526,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.16601,
    "h": 273.2
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#788DFD
secondary
#F7F1D4
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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