#787EA4#787EA4

#787EA4 is a mid, muted blue. Relative luminance 0.216; OKLCH L 60.2% C 0.058 H 277.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#787EA4
RGBrgb(120, 126, 164)
HSLhsl(232, 19%, 56%)
HSVhsv(232, 27%, 64%)
CMYKcmyk(26.8%, 23.2%, 0%, 35.7%)
CIE-LABlab(53.59, 6.58, -20.98)
CIE-LCHlch(53.59, 21.99, 287.41°)
OKLaboklab(60.23% 0.0076 -0.0577)
OKLCHoklch(60.23% 0.058 277.5)
XYZxyz(21.9057, 21.5946, 38.1288)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787EA4 #A49E78
analogous
#7894A4 #787EA4 #8878A4
triadic
#787EA4 #A4787E #7EA478
tetradic
#787EA4 #A47894 #A49E78 #78A488
square
#787EA4 #A47894 #A49E78 #78A488
split-complementary
#787EA4 #A48878 #94A478
monochromatic
#414561 #5A6085 #787EA4 #9DA1BD #C1C4D5

Accessibility & contrast

On white

3.95
#787EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#787EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787EA4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787EA4#FFFFFF#000000##000000
##787EA41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7382A6
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#6D858B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #787ea4;
/* rgb */ color: rgb(120, 126, 164);
/* oklch */ color: oklch(60.2% 0.058 277.5);
Tailwind
colors: {
  custom: {
    50: '#a0a3bf',
    500: '#787ea4',
    950: '#000000',
  },
}
SCSS
$custom: #787ea4;
$custom-light: #a0a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#787ea4",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 231.818,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.05824,
    "h": 277.5
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#787EA4
secondary
#C5C3B3
accent
#B16CBC
background
#F9FAFB
surface
#F2F3F7
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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