#788FDA#788FDA

#788FDA is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.4% C 0.115 H 270.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#788FDA
RGBrgb(120, 143, 218)
HSLhsl(226, 57%, 66%)
HSVhsv(226, 45%, 85%)
CMYKcmyk(45%, 34.4%, 0%, 14.5%)
CIE-LABlab(60.51, 11.46, -40.91)
CIE-LCHlch(60.51, 42.48, 285.64°)
OKLaboklab(66.36% 0.0002 -0.115)
OKLCHoklch(66.36% 0.115 270.1)
XYZxyz(30.2191, 28.6983, 70.2631)
Luminance0.2870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FDA #DAC378
analogous
#78C0DA #788FDA #9278DA
triadic
#788FDA #DA788F #8FDA78
tetradic
#788FDA #DA78C0 #DAC378 #78DA92
square
#788FDA #DA78C0 #DAC378 #78DA92
split-complementary
#788FDA #DA9278 #C0DA78
monochromatic
#2E4BA9 #4867CD #788FDA #A8B7E7 #D8DFF4

Accessibility & contrast

On white

3.12
#788FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#788FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788FDA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FDA#FFFFFF#000000##000000
##788FDA1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DD
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#549FAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788fda;
/* rgb */ color: rgb(120, 143, 218);
/* oklch */ color: oklch(66.4% 0.115 270.1);
Tailwind
colors: {
  custom: {
    50: '#a3afe6',
    500: '#788fda',
    950: '#000000',
  },
}
SCSS
$custom: #788fda;
$custom-light: #a3afe6;
$custom-dark: #000000;
JSON
{
  "hex": "#788fda",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 218
  },
  "hsl": {
    "h": 225.918,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.11499,
    "h": 270.1
  },
  "luminance": 0.287
}

Semantic roles & 50–950 ramp

primary
#788FDA
secondary
#E7DFC7
accent
#9E21C5
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #788FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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