#788FCC#788FCC

#788FCC is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.7% C 0.095 H 267.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#788FCC
RGBrgb(120, 143, 204)
HSLhsl(224, 45%, 64%)
HSVhsv(224, 41%, 80%)
CMYKcmyk(41.2%, 29.9%, 0%, 20%)
CIE-LABlab(59.89, 7.43, -34.05)
CIE-LCHlch(59.89, 34.86, 282.30°)
OKLaboklab(65.67% -0.0034 -0.0951)
OKLCHoklch(65.67% 0.095 267.9)
XYZxyz(28.4639, 27.9962, 61.0190)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FCC #CCB578
analogous
#78B9CC #788FCC #8B78CC
triadic
#788FCC #CC788F #8FCC78
tetradic
#788FCC #CC78B9 #CCB578 #78CC8B
square
#788FCC #CC78B9 #CCB578 #78CC8B
split-complementary
#788FCC #CC8B78 #B9CC78
monochromatic
#375092 #4C6ABB #788FCC #A4B4DD #D1D9EE

Accessibility & contrast

On white

3.18
#788FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#788FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788FCC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FCC#FFFFFF#000000##000000
##788FCC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#5C9BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #788fcc;
/* rgb */ color: rgb(120, 143, 204);
/* oklch */ color: oklch(65.7% 0.095 267.9);
Tailwind
colors: {
  custom: {
    50: '#a2afdb',
    500: '#788fcc',
    950: '#000000',
  },
}
SCSS
$custom: #788fcc;
$custom-light: #a2afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#788fcc",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 223.571,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.09521,
    "h": 267.9
  },
  "luminance": 0.27998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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