#788ABC#788ABC

#788ABC is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.9% C 0.078 H 268.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#788ABC
RGBrgb(120, 138, 188)
HSLhsl(224, 34%, 60%)
HSVhsv(224, 36%, 74%)
CMYKcmyk(36.2%, 26.6%, 0%, 26.3%)
CIE-LABlab(57.85, 5.89, -28.18)
CIE-LCHlch(57.85, 28.79, 281.80°)
OKLaboklab(63.86% -0.0015 -0.0783)
OKLCHoklch(63.86% 0.078 268.9)
XYZxyz(25.9086, 25.7998, 51.1819)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788ABC #BCAA78
analogous
#78ACBC #788ABC #8878BC
triadic
#788ABC #BC788A #8ABC78
tetradic
#788ABC #BC78AC #BCAA78 #78BC88
square
#788ABC #BC78AC #BCAA78 #78BC88
split-complementary
#788ABC #BC8878 #ACBC78
monochromatic
#3E4E7C #5268A5 #788ABC #A1ADD0 #CAD1E5

Accessibility & contrast

On white

3.41
#788ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#788ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788ABC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788ABC#FFFFFF#000000##000000
##788ABC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBE
Deuteranopia (green-blind)
#7488BB
Tritanopia (blue-blind)
#64949B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #788abc;
/* rgb */ color: rgb(120, 138, 188);
/* oklch */ color: oklch(63.9% 0.078 268.9);
Tailwind
colors: {
  custom: {
    50: '#a1acd0',
    500: '#788abc',
    950: '#000000',
  },
}
SCSS
$custom: #788abc;
$custom-light: #a1acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#788abc",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 224.118,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.07831,
    "h": 268.9
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#788ABC
secondary
#D5CEBB
accent
#8E39AC
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1014
muted
#7F7F82

Preview Lab

Preview with #788ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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