#788DCA#788DCA

#788DCA is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.2% C 0.095 H 269.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#788DCA
RGBrgb(120, 141, 202)
HSLhsl(225, 44%, 63%)
HSVhsv(225, 41%, 79%)
CMYKcmyk(40.6%, 30.2%, 0%, 20.8%)
CIE-LABlab(59.26, 8.03, -33.91)
CIE-LCHlch(59.26, 34.85, 283.32°)
OKLaboklab(65.15% -0.0014 -0.0947)
OKLCHoklch(65.15% 0.095 269.1)
XYZxyz(27.9280, 27.3057, 59.6646)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DCA #CAB578
analogous
#78B6CA #788DCA #8C78CA
triadic
#788DCA #CA788D #8DCA78
tetradic
#788DCA #CA78B6 #CAB578 #78CA8C
square
#788DCA #CA78B6 #CAB578 #78CA8C
split-complementary
#788DCA #CA8C78 #B6CA78
monochromatic
#384F8F #4C68B9 #788DCA #A4B2DB #D0D7ED

Accessibility & contrast

On white

3.25
#788DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#788DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DCA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DCA#FFFFFF#000000##000000
##788DCA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CD
Deuteranopia (green-blind)
#718BC9
Tritanopia (blue-blind)
#5D99A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #788dca;
/* rgb */ color: rgb(120, 141, 202);
/* oklch */ color: oklch(65.2% 0.095 269.1);
Tailwind
colors: {
  custom: {
    50: '#a2aeda',
    500: '#788dca',
    950: '#000000',
  },
}
SCSS
$custom: #788dca;
$custom-light: #a2aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#788dca",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 224.634,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.09475,
    "h": 269.1
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#788DCA
secondary
#DED6C0
accent
#942FB7
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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