#788BF9#788BF9

#788BF9 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.3% C 0.163 H 273.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#788BF9
RGBrgb(120, 139, 249)
HSLhsl(231, 91%, 72%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.8%, 44.2%, 0%, 2.4%)
CIE-LABlab(61.04, 23.11, -57.24)
CIE-LCHlch(61.04, 61.73, 291.98°)
OKLaboklab(67.28% 0.0109 -0.1627)
OKLCHoklch(67.28% 0.163 273.8)
XYZxyz(34.0718, 29.2956, 93.4634)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BF9 #F9E678
analogous
#78CBF9 #788BF9 #A678F9
triadic
#788BF9 #F9788B #8BF978
tetradic
#788BF9 #F978CB #F9E678 #78F9A6
square
#788BF9 #F978CB #F9E678 #78F9A6
split-complementary
#788BF9 #F9A678 #CBF978
monochromatic
#0A2CEC #3D59F6 #788BF9 #B3BDFC #E2E6FE

Accessibility & contrast

On white

3.06
#788BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#788BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BF9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BF9#FFFFFF#000000##000000
##788BF91.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#3DA3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788bf9;
/* rgb */ color: rgb(120, 139, 249);
/* oklch */ color: oklch(67.3% 0.163 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7acfc',
    500: '#788bf9',
    950: '#000000',
  },
}
SCSS
$custom: #788bf9;
$custom-light: #a7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#788bf9",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 231.163,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67281,
    "c": 0.16309,
    "h": 273.8
  },
  "luminance": 0.29298
}

Semantic roles & 50–950 ramp

primary
#788BF9
secondary
#F6F1D5
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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