#788DCD#788DCD

#788DCD is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.3% C 0.099 H 269.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#788DCD
RGBrgb(120, 141, 205)
HSLhsl(225, 46%, 64%)
HSVhsv(225, 41%, 80%)
CMYKcmyk(41.5%, 31.2%, 0%, 19.6%)
CIE-LABlab(59.39, 8.88, -35.39)
CIE-LCHlch(59.39, 36.49, 284.08°)
OKLaboklab(65.3% -0.0006 -0.099)
OKLCHoklch(65.3% 0.099 269.6)
XYZxyz(28.2867, 27.4492, 61.5535)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788DCD #CDB878
analogous
#78B7CD #788DCD #8D78CD
triadic
#788DCD #CD788D #8DCD78
tetradic
#788DCD #CD78B7 #CDB878 #78CD8D
square
#788DCD #CD78B7 #CDB878 #78CD8D
split-complementary
#788DCD #CD8D78 #B7CD78
monochromatic
#374E94 #4B67BC #788DCD #A5B3DE #D1D8EE

Accessibility & contrast

On white

3.24
#788DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#788DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788DCD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788DCD#FFFFFF#000000##000000
##788DCD1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#5C9AA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #788dcd;
/* rgb */ color: rgb(120, 141, 205);
/* oklch */ color: oklch(65.3% 0.099 269.6);
Tailwind
colors: {
  custom: {
    50: '#a2aedc',
    500: '#788dcd',
    950: '#000000',
  },
}
SCSS
$custom: #788dcd;
$custom-light: #a2aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#788dcd",
  "rgb": {
    "r": 120,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 225.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.09901,
    "h": 269.6
  },
  "luminance": 0.27451
}

Semantic roles & 50–950 ramp

primary
#788DCD
secondary
#DFD8C1
accent
#962CB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F1015
muted
#7F7F83

Preview Lab

Preview with #788DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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