#787CA4#787CA4

#787CA4 is a mid, moderate blue. Relative luminance 0.211; OKLCH L 59.8% C 0.061 H 279.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#787CA4
RGBrgb(120, 124, 164)
HSLhsl(235, 19%, 56%)
HSVhsv(235, 27%, 64%)
CMYKcmyk(26.8%, 24.4%, 0%, 35.7%)
CIE-LABlab(53.05, 7.76, -21.82)
CIE-LCHlch(53.05, 23.16, 289.57°)
OKLaboklab(59.81% 0.0105 -0.0601)
OKLCHoklch(59.81% 0.061 279.9)
XYZxyz(21.6525, 21.0882, 38.0444)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787CA4 #A4A078
analogous
#7892A4 #787CA4 #8A78A4
triadic
#787CA4 #A4787C #7CA478
tetradic
#787CA4 #A47892 #A4A078 #78A48A
square
#787CA4 #A47892 #A4A078 #78A48A
split-complementary
#787CA4 #A48A78 #92A478
monochromatic
#414461 #5A5E85 #787CA4 #9D9FBD #C1C3D5

Accessibility & contrast

On white

4.02
#787CA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#787CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787CA4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787CA4#FFFFFF#000000##000000
##787CA41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A6
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#6D838A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #787ca4;
/* rgb */ color: rgb(120, 124, 164);
/* oklch */ color: oklch(59.8% 0.061 279.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1bf',
    500: '#787ca4',
    950: '#000000',
  },
}
SCSS
$custom: #787ca4;
$custom-light: #a0a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#787ca4",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 234.545,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.06104,
    "h": 279.9
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#787CA4
secondary
#C5C3B3
accent
#B56CBC
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0E0F12
muted
#7E7E81

Preview Lab

Preview with #787CA4

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

Preview Lab → · Contrast checker → · Palette generator →

#787CA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva