#788CD5#788CD5

#788CD5 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.5% C 0.112 H 271.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#788CD5
RGBrgb(120, 140, 213)
HSLhsl(227, 53%, 65%)
HSVhsv(227, 44%, 84%)
CMYKcmyk(43.7%, 34.3%, 0%, 16.5%)
CIE-LABlab(59.48, 11.76, -39.73)
CIE-LCHlch(59.48, 41.44, 286.48°)
OKLaboklab(65.49% 0.0027 -0.1116)
OKLCHoklch(65.49% 0.112 271.4)
XYZxyz(29.1303, 27.5518, 66.7210)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CD5 #D5C178
analogous
#78BAD5 #788CD5 #9378D5
triadic
#788CD5 #D5788C #8CD578
tetradic
#788CD5 #D578BA #D5C178 #78D593
square
#788CD5 #D578BA #D5C178 #78D593
split-complementary
#788CD5 #D59378 #BAD578
monochromatic
#324AA1 #4964C6 #788CD5 #A7B4E4 #D5DCF2

Accessibility & contrast

On white

3.23
#788CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#788CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CD5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CD5#FFFFFF#000000##000000
##788CD51.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7293D8
Deuteranopia (green-blind)
#6A8CD3
Tritanopia (blue-blind)
#589BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #788cd5;
/* rgb */ color: rgb(120, 140, 213);
/* oklch */ color: oklch(65.5% 0.112 271.4);
Tailwind
colors: {
  custom: {
    50: '#a3ade2',
    500: '#788cd5',
    950: '#000000',
  },
}
SCSS
$custom: #788cd5;
$custom-light: #a3ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#788cd5",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 227.097,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.11162,
    "h": 271.4
  },
  "luminance": 0.27553
}

Semantic roles & 50–950 ramp

primary
#788CD5
secondary
#E4DDC5
accent
#9F26C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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