#788AFC#788AFC

#788AFC is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.3% C 0.168 H 274.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#788AFC
RGBrgb(120, 138, 252)
HSLhsl(232, 96%, 73%)
HSVhsv(232, 52%, 99%)
CMYKcmyk(52.4%, 45.2%, 0%, 1.2%)
CIE-LABlab(60.95, 24.62, -59.03)
CIE-LCHlch(60.95, 63.96, 292.64°)
OKLaboklab(67.27% 0.0124 -0.168)
OKLCHoklch(67.27% 0.168 274.2)
XYZxyz(34.3993, 29.1960, 95.8993)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788AFC #FCEA78
analogous
#78CCFC #788AFC #A878FC
triadic
#788AFC #FC788A #8AFC78
tetradic
#788AFC #FC78CC #FCEA78 #78FCA8
square
#788AFC #FC78CC #FCEA78 #78FCA8
split-complementary
#788AFC #FCA878 #CCFC78
monochromatic
#0526F4 #3C56FB #788AFC #B4BEFD #E1E5FE

Accessibility & contrast

On white

3.07
#788AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#788AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788AFC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788AFC#FFFFFF#000000##000000
##788AFC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#3AA3B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #788afc;
/* rgb */ color: rgb(120, 138, 252);
/* oklch */ color: oklch(67.3% 0.168 274.2);
Tailwind
colors: {
  custom: {
    50: '#a7abfe',
    500: '#788afc',
    950: '#000000',
  },
}
SCSS
$custom: #788afc;
$custom-light: #a7abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#788afc",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 231.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67268,
    "c": 0.16844,
    "h": 274.2
  },
  "luminance": 0.29198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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