#788CF9#788CF9

#788CF9 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.162 H 273.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#788CF9
RGBrgb(120, 140, 249)
HSLhsl(231, 91%, 72%)
HSVhsv(231, 52%, 98%)
CMYKcmyk(51.8%, 43.8%, 0%, 2.4%)
CIE-LABlab(61.30, 22.52, -56.84)
CIE-LCHlch(61.30, 61.14, 291.61°)
OKLaboklab(67.47% 0.0098 -0.1615)
OKLCHoklch(67.47% 0.162 273.5)
XYZxyz(34.2172, 29.5865, 93.5119)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CF9 #F9E578
analogous
#78CCF9 #788CF9 #A578F9
triadic
#788CF9 #F9788C #8CF978
tetradic
#788CF9 #F978CC #F9E578 #78F9A5
square
#788CF9 #F978CC #F9E578 #78F9A5
split-complementary
#788CF9 #F9A578 #CCF978
monochromatic
#0A2DEC #3D5AF6 #788CF9 #B3BEFC #E2E6FE

Accessibility & contrast

On white

3.04
#788CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#788CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CF9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CF9#FFFFFF#000000##000000
##788CF91.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#4F8FF7
Tritanopia (blue-blind)
#3DA4B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788cf9;
/* rgb */ color: rgb(120, 140, 249);
/* oklch */ color: oklch(67.5% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#a7adfc',
    500: '#788cf9',
    950: '#000000',
  },
}
SCSS
$custom: #788cf9;
$custom-light: #a7adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#788cf9",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 230.698,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67475,
    "c": 0.16183,
    "h": 273.5
  },
  "luminance": 0.29589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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