#788CC8#788CC8

#788CC8 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.8% C 0.093 H 269.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#788CC8
RGBrgb(120, 140, 200)
HSLhsl(225, 42%, 63%)
HSVhsv(225, 40%, 78%)
CMYKcmyk(40%, 30%, 0%, 21.6%)
CIE-LABlab(58.90, 8.05, -33.34)
CIE-LCHlch(58.90, 34.30, 283.57°)
OKLaboklab(64.85% -0.0007 -0.0931)
OKLCHoklch(64.85% 0.093 269.6)
XYZxyz(27.5460, 26.9180, 58.3767)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788CC8 #C8B478
analogous
#78B4C8 #788CC8 #8C78C8
triadic
#788CC8 #C8788C #8CC878
tetradic
#788CC8 #C878B4 #C8B478 #78C88C
square
#788CC8 #C878B4 #C8B478 #78C88C
split-complementary
#788CC8 #C88C78 #B4C878
monochromatic
#394E8C #4D67B6 #788CC8 #A3B1DA #CFD6EB

Accessibility & contrast

On white

3.29
#788CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#788CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788CC8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788CC8#FFFFFF#000000##000000
##788CC81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7891CB
Deuteranopia (green-blind)
#708BC7
Tritanopia (blue-blind)
#5E98A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #788cc8;
/* rgb */ color: rgb(120, 140, 200);
/* oklch */ color: oklch(64.8% 0.093 269.6);
Tailwind
colors: {
  custom: {
    50: '#a2add9',
    500: '#788cc8',
    950: '#000000',
  },
}
SCSS
$custom: #788cc8;
$custom-light: #a2add9;
$custom-dark: #000000;
JSON
{
  "hex": "#788cc8",
  "rgb": {
    "r": 120,
    "g": 140,
    "b": 200
  },
  "hsl": {
    "h": 225,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64846,
    "c": 0.0931,
    "h": 269.6
  },
  "luminance": 0.26919
}

Semantic roles & 50–950 ramp

primary
#788CC8
secondary
#DCD5BF
accent
#9430B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #788CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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