#788ECC#788ECC

#788ECC is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.096 H 268.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#788ECC
RGBrgb(120, 142, 204)
HSLhsl(224, 45%, 64%)
HSVhsv(224, 41%, 80%)
CMYKcmyk(41.2%, 30.4%, 0%, 20%)
CIE-LABlab(59.61, 8.01, -34.48)
CIE-LCHlch(59.61, 35.40, 283.08°)
OKLaboklab(65.46% -0.0022 -0.0964)
OKLCHoklch(65.46% 0.096 268.7)
XYZxyz(28.3145, 27.6973, 60.9692)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788ECC #CCB678
analogous
#78B8CC #788ECC #8C78CC
triadic
#788ECC #CC788E #8ECC78
tetradic
#788ECC #CC78B8 #CCB678 #78CC8C
square
#788ECC #CC78B8 #CCB678 #78CC8C
split-complementary
#788ECC #CC8C78 #B8CC78
monochromatic
#374F92 #4C69BB #788ECC #A4B3DD #D1D8EE

Accessibility & contrast

On white

3.21
#788ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#788ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788ECC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788ECC#FFFFFF#000000##000000
##788ECC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#718CCB
Tritanopia (blue-blind)
#5C9BA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #788ecc;
/* rgb */ color: rgb(120, 142, 204);
/* oklch */ color: oklch(65.5% 0.096 268.7);
Tailwind
colors: {
  custom: {
    50: '#a2aedb',
    500: '#788ecc',
    950: '#000000',
  },
}
SCSS
$custom: #788ecc;
$custom-light: #a2aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#788ecc",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 224.286,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6546,
    "c": 0.09639,
    "h": 268.7
  },
  "luminance": 0.27699
}

Semantic roles & 50–950 ramp

primary
#788ECC
secondary
#DFD7C1
accent
#942DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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