#788DFB#788DFB

#788DFB is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.163 H 273.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#788DFB
RGBrgb(120, 141, 251)
HSLhsl(230, 94%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(52.2%, 43.8%, 0%, 1.6%)
CIE-LABlab(61.66, 22.54, -57.36)
CIE-LCHlch(61.66, 61.63, 291.45°)
OKLaboklab(67.79% 0.009 -0.163)
OKLCHoklch(67.79% 0.163 273.2)
XYZxyz(34.6776, 30.0055, 95.2124)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DFB #FBE678
analogous
#78CEFB #788DFB #A578FB
triadic
#788DFB #FB788D #8DFB78
tetradic
#788DFB #FB78CE #FBE678 #78FBA5
square
#788DFB #FB78CE #FBE678 #78FBA5
split-complementary
#788DFB #FBA578 #CEFB78
monochromatic
#072DF1 #3D5BF9 #788DFB #B3BFFD #E1E6FE

Accessibility & contrast

On white

3.00
#788DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#788DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788DFB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DFB#FFFFFF#000000##000000
##788DFB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#3AA5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788dfb;
/* rgb */ color: rgb(120, 141, 251);
/* oklch */ color: oklch(67.8% 0.163 273.2);
Tailwind
colors: {
  custom: {
    50: '#a7aefd',
    500: '#788dfb',
    950: '#000000',
  },
}
SCSS
$custom: #788dfb;
$custom-light: #a7aefd;
$custom-dark: #000000;
JSON
{
  "hex": "#788dfb",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 230.382,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67787,
    "c": 0.16329,
    "h": 273.2
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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