#788BF8#788BF8

#788BF8 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.162 H 273.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#788BF8
RGBrgb(120, 139, 248)
HSLhsl(231, 90%, 72%)
HSVhsv(231, 52%, 97%)
CMYKcmyk(51.6%, 44%, 0%, 2.7%)
CIE-LABlab(60.99, 22.80, -56.78)
CIE-LCHlch(60.99, 61.19, 291.88°)
OKLaboklab(67.22% 0.0108 -0.1614)
OKLCHoklch(67.22% 0.162 273.8)
XYZxyz(33.9162, 29.2334, 92.6442)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BF8 #F8E578
analogous
#78CBF8 #788BF8 #A578F8
triadic
#788BF8 #F8788B #8BF878
tetradic
#788BF8 #F878CB #F8E578 #78F8A5
square
#788BF8 #F878CB #F8E578 #78F8A5
split-complementary
#788BF8 #F8A578 #CBF878
monochromatic
#0C2DE9 #3E59F5 #788BF8 #B2BDFB #E2E6FD

Accessibility & contrast

On white

3.07
#788BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#788BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BF8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BF8#FFFFFF#000000##000000
##788BF81.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FC
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#3EA3B5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788bf8;
/* rgb */ color: rgb(120, 139, 248);
/* oklch */ color: oklch(67.2% 0.162 273.8);
Tailwind
colors: {
  custom: {
    50: '#a7acfb',
    500: '#788bf8',
    950: '#000000',
  },
}
SCSS
$custom: #788bf8;
$custom-light: #a7acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#788bf8",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 231.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67222,
    "c": 0.16173,
    "h": 273.8
  },
  "luminance": 0.29236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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