#788BFC#788BFC

#788BFC is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.5% C 0.167 H 273.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#788BFC
RGBrgb(120, 139, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(52.4%, 44.8%, 0%, 1.2%)
CIE-LABlab(61.21, 24.03, -58.63)
CIE-LCHlch(61.21, 63.36, 292.29°)
OKLaboklab(67.46% 0.0113 -0.1668)
OKLCHoklch(67.46% 0.167 273.9)
XYZxyz(34.5434, 29.4843, 95.9474)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BFC #FCE978
analogous
#78CDFC #788BFC #A778FC
triadic
#788BFC #FC788B #8BFC78
tetradic
#788BFC #FC78CD #FCE978 #78FCA7
square
#788BFC #FC78CD #FCE978 #78FCA7
split-complementary
#788BFC #FCA778 #CDFC78
monochromatic
#0528F4 #3C58FB #788BFC #B4BEFD #E1E5FE

Accessibility & contrast

On white

3.04
#788BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#788BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BFC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BFC#FFFFFF#000000##000000
##788BFC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#4A8EFA
Tritanopia (blue-blind)
#3AA4B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #788bfc;
/* rgb */ color: rgb(120, 139, 252);
/* oklch */ color: oklch(67.5% 0.167 273.9);
Tailwind
colors: {
  custom: {
    50: '#a7acfe',
    500: '#788bfc',
    950: '#000000',
  },
}
SCSS
$custom: #788bfc;
$custom-light: #a7acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#788bfc",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 231.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.16718,
    "h": 273.9
  },
  "luminance": 0.29487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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