#797F89#797F89

#797F89 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.5% C 0.017 H 260.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#797F89
RGBrgb(121, 127, 137)
HSLhsl(218, 6%, 51%)
HSVhsv(218, 12%, 54%)
CMYKcmyk(11.7%, 7.3%, 0%, 46.3%)
CIE-LABlab(53.00, -0.09, -6.17)
CIE-LCHlch(53.00, 6.17, 269.17°)
OKLaboklab(59.48% -0.0027 -0.0166)
OKLCHoklch(59.48% 0.017 260.7)
XYZxyz(19.9889, 21.0496, 26.6719)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F89 #898379
analogous
#798789 #797F89 #7B7989
triadic
#797F89 #89797F #7F8979
tetradic
#797F89 #897987 #898379 #79897B
square
#797F89 #897987 #898379 #79897B
split-complementary
#797F89 #897B79 #878979
monochromatic
#3F4348 #5C6169 #797F89 #9A9EA6 #BABDC2

Accessibility & contrast

On white

4.03
#797F89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#797F89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F89
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F89#FFFFFF#000000##000000
##797F891.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F8A
Deuteranopia (green-blind)
#7A7E89
Tritanopia (blue-blind)
#758182
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797f89;
/* rgb */ color: rgb(121, 127, 137);
/* oklch */ color: oklch(59.5% 0.017 260.7);
Tailwind
colors: {
  custom: {
    50: '#9fa4ab',
    500: '#797f89',
    950: '#000000',
  },
}
SCSS
$custom: #797f89;
$custom-light: #9fa4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#797f89",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 137
  },
  "hsl": {
    "h": 217.5,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.01681,
    "h": 260.7
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#797F89
secondary
#B2B0AB
accent
#9B78AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #797F89

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

Preview Lab → · Contrast checker → · Palette generator →

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