#788CD2#788CD2

#788CD2 is a light, moderate blue. Relative luminance 0.274; OKLCH L 65.3% C 0.107 H 271.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#788CD2
RGBrgb(120, 140, 210)
HSLhsl(227, 50%, 65%)
HSVhsv(227, 43%, 82%)
CMYKcmyk(42.9%, 33.3%, 0%, 17.6%)
CIE-LABlab(59.34, 10.89, -38.27)
CIE-LCHlch(59.34, 39.79, 285.89°)
OKLaboklab(65.34% 0.002 -0.1073)
OKLCHoklch(65.34% 0.107 271.1)
XYZxyz(28.7531, 27.4009, 64.7341)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CD2 #D2BE78
analogous
#78B9D2 #788CD2 #9178D2
triadic
#788CD2 #D2788C #8CD278
tetradic
#788CD2 #D278B9 #D2BE78 #78D291
square
#788CD2 #D278B9 #D2BE78 #78D291
split-complementary
#788CD2 #D29178 #B9D278
monochromatic
#344B9C #4A65C3 #788CD2 #A6B3E1 #D4DAF1

Accessibility & contrast

On white

3.24
#788CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#788CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CD2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CD2#FFFFFF#000000##000000
##788CD21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#6B8BD0
Tritanopia (blue-blind)
#599AA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #788cd2;
/* rgb */ color: rgb(120, 140, 210);
/* oklch */ color: oklch(65.3% 0.107 271.1);
Tailwind
colors: {
  custom: {
    50: '#a3ade0',
    500: '#788cd2',
    950: '#000000',
  },
}
SCSS
$custom: #788cd2;
$custom-light: #a3ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#788cd2",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 226.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65338,
    "c": 0.10736,
    "h": 271.1
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#788CD2
secondary
#E2DBC3
accent
#9C28BD
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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