#788EFE#788EFE

#788EFE is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.166 H 272.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#788EFE
RGBrgb(120, 142, 254)
HSLhsl(230, 99%, 73%)
HSVhsv(230, 53%, 100%)
CMYKcmyk(52.8%, 44.1%, 0%, 0.4%)
CIE-LABlab(62.08, 22.87, -58.34)
CIE-LCHlch(62.08, 62.66, 291.41°)
OKLaboklab(68.16% 0.0084 -0.1659)
OKLCHoklch(68.16% 0.166 272.9)
XYZxyz(35.3023, 30.4924, 97.7721)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EFE #FEE878
analogous
#78D1FE #788EFE #A578FE
triadic
#788EFE #FE788E #8EFE78
tetradic
#788EFE #FE78D1 #FEE878 #78FEA5
square
#788EFE #FE78D1 #FEE878 #78FEA5
split-complementary
#788EFE #FEA578 #D1FE78
monochromatic
#022BFA #3B5BFE #788EFE #B5C1FE #E1E6FF

Accessibility & contrast

On white

2.96
#788EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#788EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788EFE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EFE#FFFFFF#000000##000000
##788EFE1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#4E91FC
Tritanopia (blue-blind)
#37A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #788efe;
/* rgb */ color: rgb(120, 142, 254);
/* oklch */ color: oklch(68.2% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#a7aeff',
    500: '#788efe',
    950: '#000000',
  },
}
SCSS
$custom: #788efe;
$custom-light: #a7aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#788efe",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 230.149,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.16611,
    "h": 272.9
  },
  "luminance": 0.30495
}

Semantic roles & 50–950 ramp

primary
#788EFE
secondary
#F7F1D4
accent
#C000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #788EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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