#788BC2#788BC2

#788BC2 is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.4% C 0.086 H 269.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#788BC2
RGBrgb(120, 139, 194)
HSLhsl(225, 38%, 62%)
HSVhsv(225, 38%, 76%)
CMYKcmyk(38.1%, 28.4%, 0%, 23.9%)
CIE-LABlab(58.37, 6.96, -30.77)
CIE-LCHlch(58.37, 31.55, 282.74°)
OKLaboklab(64.35% -0.0011 -0.0857)
OKLCHoklch(64.35% 0.086 269.3)
XYZxyz(26.7130, 26.3521, 54.7074)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788BC2 #C2AF78
analogous
#78B0C2 #788BC2 #8A78C2
triadic
#788BC2 #C2788B #8BC278
tetradic
#788BC2 #C278B0 #C2AF78 #78C28A
square
#788BC2 #C278B0 #C2AF78 #78C28A
split-complementary
#788BC2 #C28A78 #B0C278
monochromatic
#3C4E84 #4F67AE #788BC2 #A2AFD5 #CCD3E8

Accessibility & contrast

On white

3.35
#788BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#788BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788BC2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788BC2#FFFFFF#000000##000000
##788BC21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7990C4
Deuteranopia (green-blind)
#7289C1
Tritanopia (blue-blind)
#61969E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #788bc2;
/* rgb */ color: rgb(120, 139, 194);
/* oklch */ color: oklch(64.4% 0.086 269.3);
Tailwind
colors: {
  custom: {
    50: '#a1acd4',
    500: '#788bc2',
    950: '#000000',
  },
}
SCSS
$custom: #788bc2;
$custom-light: #a1acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#788bc2",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 224.595,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.08572,
    "h": 269.3
  },
  "luminance": 0.26353
}

Semantic roles & 50–950 ramp

primary
#788BC2
secondary
#D9D2BD
accent
#9135B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #788BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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