#797E89#797E89

#797E89 is a mid, near-neutral grey. Relative luminance 0.208; OKLCH L 59.3% C 0.018 H 266.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#797E89
RGBrgb(121, 126, 137)
HSLhsl(221, 6%, 51%)
HSVhsv(221, 12%, 54%)
CMYKcmyk(11.7%, 8%, 0%, 46.3%)
CIE-LABlab(52.72, 0.49, -6.59)
CIE-LCHlch(52.72, 6.60, 274.23°)
OKLaboklab(59.26% -0.0012 -0.0177)
OKLCHoklch(59.26% 0.018 266.2)
XYZxyz(19.8604, 20.7926, 26.6291)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E89 #898479
analogous
#798689 #797E89 #7C7989
triadic
#797E89 #89797E #7E8979
tetradic
#797E89 #897986 #898479 #79897C
square
#797E89 #897986 #898479 #79897C
split-complementary
#797E89 #897C79 #868979
monochromatic
#3F4248 #5C6069 #797E89 #9A9DA6 #BABDC2

Accessibility & contrast

On white

4.07
#797E89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#797E89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E89
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E89#FFFFFF#000000##000000
##797E891.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7F8A
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#758081
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797e89;
/* rgb */ color: rgb(121, 126, 137);
/* oklch */ color: oklch(59.3% 0.018 266.2);
Tailwind
colors: {
  custom: {
    50: '#9fa3ab',
    500: '#797e89',
    950: '#000000',
  },
}
SCSS
$custom: #797e89;
$custom-light: #9fa3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#797e89",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 137
  },
  "hsl": {
    "h": 221.25,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.01777,
    "h": 266.2
  },
  "luminance": 0.20793
}

Semantic roles & 50–950 ramp

primary
#797E89
secondary
#B2B0AB
accent
#9E78AF
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #797E89

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

Preview Lab → · Contrast checker → · Palette generator →

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