#788ABE#788ABE

#788ABE is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.0% C 0.081 H 269.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#788ABE
RGBrgb(120, 138, 190)
HSLhsl(225, 35%, 61%)
HSVhsv(225, 37%, 75%)
CMYKcmyk(36.8%, 27.4%, 0%, 25.5%)
CIE-LABlab(57.93, 6.44, -29.19)
CIE-LCHlch(57.93, 29.89, 282.43°)
OKLaboklab(63.95% -0.0009 -0.0812)
OKLCHoklch(63.95% 0.081 269.3)
XYZxyz(26.1257, 25.8866, 52.3253)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788ABE #BEAC78
analogous
#78ADBE #788ABE #8978BE
triadic
#788ABE #BE788A #8ABE78
tetradic
#788ABE #BE78AD #BEAC78 #78BE89
square
#788ABE #BE78AD #BEAC78 #78BE89
split-complementary
#788ABE #BE8978 #ADBE78
monochromatic
#3D4E7F #5167A8 #788ABE #A1AED2 #CBD2E6

Accessibility & contrast

On white

3.40
#788ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#788ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788ABE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788ABE#FFFFFF#000000##000000
##788ABE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EC0
Deuteranopia (green-blind)
#7388BD
Tritanopia (blue-blind)
#63949C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #788abe;
/* rgb */ color: rgb(120, 138, 190);
/* oklch */ color: oklch(64.0% 0.081 269.3);
Tailwind
colors: {
  custom: {
    50: '#a1acd1',
    500: '#788abe',
    950: '#000000',
  },
}
SCSS
$custom: #788abe;
$custom-light: #a1acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#788abe",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 224.571,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.08118,
    "h": 269.3
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#788ABE
secondary
#D6CFBC
accent
#8F38AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #788ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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