#788FDC#788FDC

#788FDC is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.5% C 0.118 H 270.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#788FDC
RGBrgb(120, 143, 220)
HSLhsl(226, 59%, 67%)
HSVhsv(226, 45%, 86%)
CMYKcmyk(45.5%, 35%, 0%, 13.7%)
CIE-LABlab(60.61, 12.04, -41.88)
CIE-LCHlch(60.61, 43.57, 286.04°)
OKLaboklab(66.47% 0.0007 -0.1178)
OKLCHoklch(66.47% 0.118 270.3)
XYZxyz(30.4824, 28.8036, 71.6497)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788FDC #DCC578
analogous
#78C1DC #788FDC #9378DC
triadic
#788FDC #DC788F #8FDC78
tetradic
#788FDC #DC78C1 #DCC578 #78DC93
square
#788FDC #DC78C1 #DCC578 #78DC93
split-complementary
#788FDC #DC9378 #C1DC78
monochromatic
#2D4AAD #4767CF #788FDC #A9B7E9 #D9E0F5

Accessibility & contrast

On white

3.11
#788FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#788FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788FDC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788FDC#FFFFFF#000000##000000
##788FDC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#539FAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #788fdc;
/* rgb */ color: rgb(120, 143, 220);
/* oklch */ color: oklch(66.5% 0.118 270.3);
Tailwind
colors: {
  custom: {
    50: '#a3afe7',
    500: '#788fdc',
    950: '#000000',
  },
}
SCSS
$custom: #788fdc;
$custom-light: #a3afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#788fdc",
  "rgb": {
    "r": 120,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 226.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66468,
    "c": 0.1178,
    "h": 270.3
  },
  "luminance": 0.28805
}

Semantic roles & 50–950 ramp

primary
#788FDC
secondary
#E8E1C8
accent
#A01FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #788FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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