#788FFD#788FFD

#788FFD is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.164 H 272.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#788FFD
RGBrgb(120, 143, 253)
HSLhsl(230, 97%, 73%)
HSVhsv(230, 53%, 99%)
CMYKcmyk(52.6%, 43.5%, 0%, 0.8%)
CIE-LABlab(62.28, 21.98, -57.47)
CIE-LCHlch(62.28, 61.53, 290.93°)
OKLaboklab(68.29% 0.0071 -0.1633)
OKLCHoklch(68.29% 0.164 272.5)
XYZxyz(35.2921, 30.7274, 96.9807)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FFD #FDE678
analogous
#78D1FD #788FFD #A378FD
triadic
#788FFD #FD788F #8FFD78
tetradic
#788FFD #FD78D1 #FDE678 #78FDA3
square
#788FFD #FD78D1 #FDE678 #78FDA3
split-complementary
#788FFD #FDA378 #D1FD78
monochromatic
#042EF7 #3C5DFC #788FFD #B4C1FE #E1E6FF

Accessibility & contrast

On white

2.94
#788FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#788FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788FFD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FFD#FFFFFF#000000##000000
##788FFD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5191FB
Tritanopia (blue-blind)
#38A7BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #788ffd;
/* rgb */ color: rgb(120, 143, 253);
/* oklch */ color: oklch(68.3% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#a7affe',
    500: '#788ffd',
    950: '#000000',
  },
}
SCSS
$custom: #788ffd;
$custom-light: #a7affe;
$custom-dark: #000000;
JSON
{
  "hex": "#788ffd",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 229.624,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.16351,
    "h": 272.5
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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