#788DFC#788DFC

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

Color values

HEX#788DFC
RGBrgb(120, 141, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(52.4%, 44%, 0%, 1.2%)
CIE-LABlab(61.71, 22.85, -57.82)
CIE-LCHlch(61.71, 62.17, 291.56°)
OKLaboklab(67.85% 0.0092 -0.1644)
OKLCHoklch(67.85% 0.165 273.2)
XYZxyz(34.8356, 30.0688, 96.0448)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DFC #FCE778
analogous
#78CFFC #788DFC #A578FC
triadic
#788DFC #FC788D #8DFC78
tetradic
#788DFC #FC78CF #FCE778 #78FCA5
square
#788DFC #FC78CF #FCE778 #78FCA5
split-complementary
#788DFC #FCA578 #CFFC78
monochromatic
#052BF4 #3C5AFB #788DFC #B4C0FD #E1E6FE

Accessibility & contrast

On white

2.99
#788DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#788DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #788DFC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DFC#FFFFFF#000000##000000
##788DFC1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#39A5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #788dfc;
/* rgb */ color: rgb(120, 141, 252);
/* oklch */ color: oklch(67.8% 0.165 273.2);
Tailwind
colors: {
  custom: {
    50: '#a7aefe',
    500: '#788dfc',
    950: '#000000',
  },
}
SCSS
$custom: #788dfc;
$custom-light: #a7aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#788dfc",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 230.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.16465,
    "h": 273.2
  },
  "luminance": 0.30071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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