#788DF9#788DF9

#788DF9 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.161 H 273.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#788DF9
RGBrgb(120, 141, 249)
HSLhsl(230, 91%, 72%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(51.8%, 43.4%, 0%, 2.4%)
CIE-LABlab(61.55, 21.93, -56.43)
CIE-LCHlch(61.55, 60.54, 291.23°)
OKLaboklab(67.67% 0.0087 -0.1603)
OKLCHoklch(67.67% 0.161 273.1)
XYZxyz(34.3640, 29.8801, 93.5608)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DF9 #F9E478
analogous
#78CDF9 #788DF9 #A478F9
triadic
#788DF9 #F9788D #8DF978
tetradic
#788DF9 #F978CD #F9E478 #78F9A4
square
#788DF9 #F978CD #F9E478 #78F9A4
split-complementary
#788DF9 #F9A478 #CDF978
monochromatic
#0A2FEC #3D5CF6 #788DF9 #B3BEFC #E2E6FE

Accessibility & contrast

On white

3.01
#788DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#788DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DF9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DF9#FFFFFF#000000##000000
##788DF91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#518FF7
Tritanopia (blue-blind)
#3DA4B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788df9;
/* rgb */ color: rgb(120, 141, 249);
/* oklch */ color: oklch(67.7% 0.161 273.1);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#788df9',
    950: '#000000',
  },
}
SCSS
$custom: #788df9;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#788df9",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 230.233,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67669,
    "c": 0.16057,
    "h": 273.1
  },
  "luminance": 0.29882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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