#788EFB#788EFB

#788EFB is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.162 H 272.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#788EFB
RGBrgb(120, 142, 251)
HSLhsl(230, 94%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(52.2%, 43.4%, 0%, 1.6%)
CIE-LABlab(61.91, 21.95, -56.95)
CIE-LCHlch(61.91, 61.04, 291.08°)
OKLaboklab(67.98% 0.0079 -0.1618)
OKLCHoklch(67.98% 0.162 272.8)
XYZxyz(34.8257, 30.3018, 95.2618)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EFB #FBE578
analogous
#78CFFB #788EFB #A478FB
triadic
#788EFB #FB788E #8EFB78
tetradic
#788EFB #FB78CF #FBE578 #78FBA4
square
#788EFB #FB78CF #FBE578 #78FBA4
split-complementary
#788EFB #FBA478 #CFFB78
monochromatic
#072EF1 #3D5CF9 #788EFB #B3C0FD #E1E6FE

Accessibility & contrast

On white

2.97
#788EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#788EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788EFB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EFB#FFFFFF#000000##000000
##788EFB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#5190F9
Tritanopia (blue-blind)
#3AA6B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #788efb;
/* rgb */ color: rgb(120, 142, 251);
/* oklch */ color: oklch(68.0% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7aefd',
    500: '#788efb',
    950: '#000000',
  },
}
SCSS
$custom: #788efb;
$custom-light: #a7aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#788efb",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 229.924,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.16203,
    "h": 272.8
  },
  "luminance": 0.30304
}

Semantic roles & 50–950 ramp

primary
#788EFB
secondary
#F6F1D5
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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