#788EF9#788EF9

#788EF9 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.159 H 272.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#788EF9
RGBrgb(120, 142, 249)
HSLhsl(230, 91%, 72%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(51.8%, 43%, 0%, 2.4%)
CIE-LABlab(61.81, 21.34, -56.03)
CIE-LCHlch(61.81, 59.95, 290.85°)
OKLaboklab(67.86% 0.0076 -0.1591)
OKLCHoklch(67.86% 0.159 272.7)
XYZxyz(34.5121, 30.1763, 93.6102)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EF9 #F9E378
analogous
#78CFF9 #788EF9 #A278F9
triadic
#788EF9 #F9788E #8EF978
tetradic
#788EF9 #F978CF #F9E378 #78F9A2
square
#788EF9 #F978CF #F9E378 #78F9A2
split-complementary
#788EF9 #F9A278 #CFF978
monochromatic
#0A31EC #3D5DF6 #788EF9 #B3BFFC #E2E6FE

Accessibility & contrast

On white

2.98
#788EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#788EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788EF9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EF9#FFFFFF#000000##000000
##788EF91.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#3CA5B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788ef9;
/* rgb */ color: rgb(120, 142, 249);
/* oklch */ color: oklch(67.9% 0.159 272.7);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#788ef9',
    950: '#000000',
  },
}
SCSS
$custom: #788ef9;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#788ef9",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 229.767,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.15931,
    "h": 272.7
  },
  "luminance": 0.30179
}

Semantic roles & 50–950 ramp

primary
#788EF9
secondary
#F6F0D5
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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