#787B8A#787B8A

#787B8A is a mid, muted grey. Relative luminance 0.200; OKLCH L 58.5% C 0.023 H 276.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#787B8A
RGBrgb(120, 123, 138)
HSLhsl(230, 7%, 51%)
HSVhsv(230, 13%, 54%)
CMYKcmyk(13%, 10.9%, 0%, 45.9%)
CIE-LABlab(51.83, 2.10, -8.51)
CIE-LCHlch(51.83, 8.76, 283.84°)
OKLaboklab(58.55% 0.0027 -0.023)
OKLCHoklch(58.55% 0.023 276.7)
XYZxyz(19.4151, 19.9938, 26.8761)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B8A #8A8778
analogous
#78848A #787B8A #7E788A
triadic
#787B8A #8A787B #7B8A78
tetradic
#787B8A #8A7884 #8A8778 #788A7E
square
#787B8A #8A7884 #8A8778 #788A7E
split-complementary
#787B8A #8A7E78 #848A78
monochromatic
#3F4149 #5B5E69 #787B8A #999BA6 #BABBC3

Accessibility & contrast

On white

4.20
#787B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#787B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B8A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B8A#FFFFFF#000000##000000
##787B8A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#777C8B
Deuteranopia (green-blind)
#767B8A
Tritanopia (blue-blind)
#747E80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787b8a;
/* rgb */ color: rgb(120, 123, 138);
/* oklch */ color: oklch(58.5% 0.023 276.7);
Tailwind
colors: {
  custom: {
    50: '#9fa1ac',
    500: '#787b8a',
    950: '#000000',
  },
}
SCSS
$custom: #787b8a;
$custom-light: #9fa1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#787b8a",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 230,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.02312,
    "h": 276.7
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #787B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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