#788ECE#788ECE

#788ECE is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.6% C 0.099 H 269.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#788ECE
RGBrgb(120, 142, 206)
HSLhsl(225, 47%, 64%)
HSVhsv(225, 42%, 81%)
CMYKcmyk(41.7%, 31.1%, 0%, 19.2%)
CIE-LABlab(59.70, 8.58, -35.46)
CIE-LCHlch(59.70, 36.49, 283.60°)
OKLaboklab(65.56% -0.0016 -0.0992)
OKLCHoklch(65.56% 0.099 269.1)
XYZxyz(28.5559, 27.7938, 62.2406)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788ECE #CEB878
analogous
#78B9CE #788ECE #8D78CE
triadic
#788ECE #CE788E #8ECE78
tetradic
#788ECE #CE78B9 #CEB878 #78CE8D
square
#788ECE #CE78B9 #CEB878 #78CE8D
split-complementary
#788ECE #CE8D78 #B9CE78
monochromatic
#364F95 #4B68BE #788ECE #A5B4DE #D2D9EF

Accessibility & contrast

On white

3.20
#788ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#788ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788ECE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788ECE#FFFFFF#000000##000000
##788ECE1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D1
Deuteranopia (green-blind)
#708CCD
Tritanopia (blue-blind)
#5B9BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #788ece;
/* rgb */ color: rgb(120, 142, 206);
/* oklch */ color: oklch(65.6% 0.099 269.1);
Tailwind
colors: {
  custom: {
    50: '#a2aedd',
    500: '#788ece',
    950: '#000000',
  },
}
SCSS
$custom: #788ece;
$custom-light: #a2aedd;
$custom-dark: #000000;
JSON
{
  "hex": "#788ece",
  "rgb": {
    "r": 120,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 224.651,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.09923,
    "h": 269.1
  },
  "luminance": 0.27795
}

Semantic roles & 50–950 ramp

primary
#788ECE
secondary
#E0D8C2
accent
#962CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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