#787A8A#787A8A

#787A8A is a mid, muted grey. Relative luminance 0.197; OKLCH L 58.3% C 0.024 H 280.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#787A8A
RGBrgb(120, 122, 138)
HSLhsl(233, 7%, 51%)
HSVhsv(233, 13%, 54%)
CMYKcmyk(13%, 11.6%, 0%, 45.9%)
CIE-LABlab(51.55, 2.68, -8.93)
CIE-LCHlch(51.55, 9.32, 286.70°)
OKLaboklab(58.33% 0.0042 -0.0241)
OKLCHoklch(58.33% 0.024 280)
XYZxyz(19.2917, 19.7469, 26.8350)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A8A #8A8878
analogous
#78838A #787A8A #7F788A
triadic
#787A8A #8A787A #7A8A78
tetradic
#787A8A #8A7883 #8A8878 #788A7F
square
#787A8A #8A7883 #8A8878 #788A7F
split-complementary
#787A8A #8A7F78 #838A78
monochromatic
#3F4049 #5B5D69 #787A8A #999AA6 #BABBC3

Accessibility & contrast

On white

4.24
#787A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#787A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A8A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A8A#FFFFFF#000000##000000
##787A8A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B8B
Deuteranopia (green-blind)
#757A8A
Tritanopia (blue-blind)
#747D7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #787a8a;
/* rgb */ color: rgb(120, 122, 138);
/* oklch */ color: oklch(58.3% 0.024 280.0);
Tailwind
colors: {
  custom: {
    50: '#9fa0ac',
    500: '#787a8a',
    950: '#000000',
  },
}
SCSS
$custom: #787a8a;
$custom-light: #9fa0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#787a8a",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 233.333,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.02447,
    "h": 280
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#787A8A
secondary
#B3B2AB
accent
#AA78B0
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #787A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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