#788DC8#788DC8

#788DC8 is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.1% C 0.092 H 268.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#788DC8
RGBrgb(120, 141, 200)
HSLhsl(224, 42%, 63%)
HSVhsv(224, 40%, 78%)
CMYKcmyk(40%, 29.5%, 0%, 21.6%)
CIE-LABlab(59.17, 7.46, -32.92)
CIE-LCHlch(59.17, 33.75, 282.77°)
OKLaboklab(65.06% -0.002 -0.0919)
OKLCHoklch(65.06% 0.092 268.8)
XYZxyz(27.6927, 27.2116, 58.4256)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DC8 #C8B378
analogous
#78B5C8 #788DC8 #8B78C8
triadic
#788DC8 #C8788D #8DC878
tetradic
#788DC8 #C878B5 #C8B378 #78C88B
square
#788DC8 #C878B5 #C8B378 #78C88B
split-complementary
#788DC8 #C88B78 #B5C878
monochromatic
#394F8C #4D68B6 #788DC8 #A3B2DA #CFD6EB

Accessibility & contrast

On white

3.26
#788DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#788DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DC8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DC8#FFFFFF#000000##000000
##788DC81.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CB
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#5E99A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #788dc8;
/* rgb */ color: rgb(120, 141, 200);
/* oklch */ color: oklch(65.1% 0.092 268.8);
Tailwind
colors: {
  custom: {
    50: '#a2aed9',
    500: '#788dc8',
    950: '#000000',
  },
}
SCSS
$custom: #788dc8;
$custom-light: #a2aed9;
$custom-dark: #000000;
JSON
{
  "hex": "#788dc8",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 200
  },
  "hsl": {
    "h": 224.25,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65057,
    "c": 0.0919,
    "h": 268.8
  },
  "luminance": 0.27213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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