#788EFA#788EFA

#788EFA is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.161 H 272.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#788EFA
RGBrgb(120, 142, 250)
HSLhsl(230, 93%, 73%)
HSVhsv(230, 52%, 98%)
CMYKcmyk(52%, 43.2%, 0%, 2%)
CIE-LABlab(61.86, 21.64, -56.49)
CIE-LCHlch(61.86, 60.49, 290.97°)
OKLaboklab(67.92% 0.0078 -0.1605)
OKLCHoklch(67.92% 0.161 272.8)
XYZxyz(34.6685, 30.2389, 94.4338)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788EFA #FAE478
analogous
#78CFFA #788EFA #A378FA
triadic
#788EFA #FA788E #8EFA78
tetradic
#788EFA #FA78CF #FAE478 #78FAA3
square
#788EFA #FA78CF #FAE478 #78FAA3
split-complementary
#788EFA #FAA378 #CFFA78
monochromatic
#0930EF #3D5DF8 #788EFA #B3BFFC #E1E6FE

Accessibility & contrast

On white

2.98
#788EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#788EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788EFA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788EFA#FFFFFF#000000##000000
##788EFA1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#3BA5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788efa;
/* rgb */ color: rgb(120, 142, 250);
/* oklch */ color: oklch(67.9% 0.161 272.8);
Tailwind
colors: {
  custom: {
    50: '#a7aefc',
    500: '#788efa',
    950: '#000000',
  },
}
SCSS
$custom: #788efa;
$custom-light: #a7aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#788efa",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 229.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.16067,
    "h": 272.8
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#788EFA
secondary
#F6F0D5
accent
#BF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #788EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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