#797A89#797A89

#797A89 is a mid, muted grey. Relative luminance 0.198; OKLCH L 58.4% C 0.023 H 282.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#797A89
RGBrgb(121, 122, 137)
HSLhsl(236, 6%, 51%)
HSVhsv(236, 12%, 54%)
CMYKcmyk(11.7%, 10.9%, 0%, 46.3%)
CIE-LABlab(51.60, 2.81, -8.26)
CIE-LCHlch(51.60, 8.73, 288.78°)
OKLaboklab(58.38% 0.005 -0.0223)
OKLCHoklch(58.38% 0.023 282.6)
XYZxyz(19.3591, 19.7900, 26.4620)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A89 #898879
analogous
#798289 #797A89 #807989
triadic
#797A89 #89797A #7A8979
tetradic
#797A89 #897982 #898879 #798980
square
#797A89 #897982 #898879 #798980
split-complementary
#797A89 #898079 #828979
monochromatic
#3F4048 #5C5D69 #797A89 #9A9AA6 #BABBC2

Accessibility & contrast

On white

4.24
#797A89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#797A89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A89
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A89#FFFFFF#000000##000000
##797A891.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B8A
Deuteranopia (green-blind)
#767A89
Tritanopia (blue-blind)
#767C7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797a89;
/* rgb */ color: rgb(121, 122, 137);
/* oklch */ color: oklch(58.4% 0.023 282.6);
Tailwind
colors: {
  custom: {
    50: '#9fa0ab',
    500: '#797a89',
    950: '#000000',
  },
}
SCSS
$custom: #797a89;
$custom-light: #9fa0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#797a89",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 137
  },
  "hsl": {
    "h": 236.25,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.02281,
    "h": 282.6
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#797A89
secondary
#B2B2AB
accent
#AC78AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797A89

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

Preview Lab → · Contrast checker → · Palette generator →

#797A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva