#787FA4#787FA4

#787FA4 is a mid, muted blue. Relative luminance 0.219; OKLCH L 60.4% C 0.057 H 276.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#787FA4
RGBrgb(120, 127, 164)
HSLhsl(230, 19%, 56%)
HSVhsv(230, 27%, 64%)
CMYKcmyk(26.8%, 22.6%, 0%, 35.7%)
CIE-LABlab(53.87, 5.99, -20.56)
CIE-LCHlch(53.87, 21.41, 286.25°)
OKLaboklab(60.45% 0.0062 -0.0566)
OKLCHoklch(60.45% 0.057 276.2)
XYZxyz(22.0342, 21.8516, 38.1716)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787FA4 #A49D78
analogous
#7895A4 #787FA4 #8778A4
triadic
#787FA4 #A4787F #7FA478
tetradic
#787FA4 #A47895 #A49D78 #78A487
square
#787FA4 #A47895 #A49D78 #78A487
split-complementary
#787FA4 #A48778 #95A478
monochromatic
#414661 #5A6185 #787FA4 #9DA2BD #C1C4D5

Accessibility & contrast

On white

3.91
#787FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#787FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787FA4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787FA4#FFFFFF#000000##000000
##787FA41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7483A6
Deuteranopia (green-blind)
#727FA3
Tritanopia (blue-blind)
#6D868C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #787fa4;
/* rgb */ color: rgb(120, 127, 164);
/* oklch */ color: oklch(60.4% 0.057 276.2);
Tailwind
colors: {
  custom: {
    50: '#a0a4bf',
    500: '#787fa4',
    950: '#000000',
  },
}
SCSS
$custom: #787fa4;
$custom-light: #a0a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#787fa4",
  "rgb": {
    "r": 120,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 230.455,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.0569,
    "h": 276.2
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#787FA4
secondary
#C5C2B3
accent
#AF6CBC
background
#F9FAFB
surface
#F2F3F7
border
#CCCDD0
text
#0E0F12
muted
#7E7F81

Preview Lab

Preview with #787FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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