#788CFE#788CFE

#788CFE is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.169 H 273.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#788CFE
RGBrgb(120, 140, 254)
HSLhsl(231, 99%, 73%)
HSVhsv(231, 53%, 100%)
CMYKcmyk(52.8%, 44.9%, 0%, 0.4%)
CIE-LABlab(61.57, 24.05, -59.15)
CIE-LCHlch(61.57, 63.85, 292.13°)
OKLaboklab(67.77% 0.0105 -0.1683)
OKLCHoklch(67.77% 0.169 273.6)
XYZxyz(35.0074, 29.9026, 97.6738)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CFE #FEEA78
analogous
#78CFFE #788CFE #A778FE
triadic
#788CFE #FE788C #8CFE78
tetradic
#788CFE #FE78CF #FEEA78 #78FEA7
square
#788CFE #FE78CF #FEEA78 #78FEA7
split-complementary
#788CFE #FEA778 #CFFE78
monochromatic
#0227FA #3B58FE #788CFE #B5C0FE #E1E5FF

Accessibility & contrast

On white

3.01
#788CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#788CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CFE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CFE#FFFFFF#000000##000000
##788CFE1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#4A8FFC
Tritanopia (blue-blind)
#37A5B9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788cfe;
/* rgb */ color: rgb(120, 140, 254);
/* oklch */ color: oklch(67.8% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#a7adff',
    500: '#788cfe',
    950: '#000000',
  },
}
SCSS
$custom: #788cfe;
$custom-light: #a7adff;
$custom-dark: #000000;
JSON
{
  "hex": "#788cfe",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 231.045,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67773,
    "c": 0.16862,
    "h": 273.6
  },
  "luminance": 0.29905
}

Semantic roles & 50–950 ramp

primary
#788CFE
secondary
#F7F2D4
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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