#788DC2#788DC2

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

Color values

HEX#788DC2
RGBrgb(120, 141, 194)
HSLhsl(223, 38%, 62%)
HSVhsv(223, 38%, 76%)
CMYKcmyk(38.1%, 27.3%, 0%, 23.9%)
CIE-LABlab(58.92, 5.79, -29.93)
CIE-LCHlch(58.92, 30.48, 280.96°)
OKLaboklab(64.78% -0.0037 -0.0833)
OKLCHoklch(64.78% 0.083 267.4)
XYZxyz(27.0053, 26.9366, 54.8048)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DC2 #C2AD78
analogous
#78B2C2 #788DC2 #8878C2
triadic
#788DC2 #C2788D #8DC278
tetradic
#788DC2 #C278B2 #C2AD78 #78C288
square
#788DC2 #C278B2 #C2AD78 #78C288
split-complementary
#788DC2 #C28878 #B2C278
monochromatic
#3C5084 #4F6AAE #788DC2 #A2B1D5 #CCD4E8

Accessibility & contrast

On white

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

On black

6.39
#788DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DC2#FFFFFF#000000##000000
##788DC21.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C4
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#61989F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #788dc2;
/* rgb */ color: rgb(120, 141, 194);
/* oklch */ color: oklch(64.8% 0.083 267.4);
Tailwind
colors: {
  custom: {
    50: '#a1aed4',
    500: '#788dc2',
    950: '#000000',
  },
}
SCSS
$custom: #788dc2;
$custom-light: #a1aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#788dc2",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 222.973,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64776,
    "c": 0.08336,
    "h": 267.4
  },
  "luminance": 0.26938
}

Semantic roles & 50–950 ramp

primary
#788DC2
secondary
#D9D1BD
accent
#8E35B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #788DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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