#797B89#797B89

#797B89 is a mid, muted grey. Relative luminance 0.200; OKLCH L 58.6% C 0.021 H 279.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#797B89
RGBrgb(121, 123, 137)
HSLhsl(233, 6%, 51%)
HSVhsv(233, 12%, 54%)
CMYKcmyk(11.7%, 10.2%, 0%, 46.3%)
CIE-LABlab(51.88, 2.23, -7.84)
CIE-LCHlch(51.88, 8.15, 285.85°)
OKLaboklab(58.6% 0.0034 -0.0211)
OKLCHoklch(58.6% 0.021 279.2)
XYZxyz(19.4825, 20.0368, 26.5031)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B89 #898779
analogous
#798389 #797B89 #7F7989
triadic
#797B89 #89797B #7B8979
tetradic
#797B89 #897983 #898779 #79897F
square
#797B89 #897983 #898779 #79897F
split-complementary
#797B89 #897F79 #838979
monochromatic
#3F4148 #5C5E69 #797B89 #9A9BA6 #BABBC2

Accessibility & contrast

On white

4.19
#797B89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#797B89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B89
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B89#FFFFFF#000000##000000
##797B891.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#787C8A
Deuteranopia (green-blind)
#777B89
Tritanopia (blue-blind)
#767D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797b89;
/* rgb */ color: rgb(121, 123, 137);
/* oklch */ color: oklch(58.6% 0.021 279.2);
Tailwind
colors: {
  custom: {
    50: '#9fa1ab',
    500: '#797b89',
    950: '#000000',
  },
}
SCSS
$custom: #797b89;
$custom-light: #9fa1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#797b89",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 137
  },
  "hsl": {
    "h": 232.5,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.02141,
    "h": 279.2
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797B89

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

Preview Lab → · Contrast checker → · Palette generator →

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