#797B85#797B85

#797B85 is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.5% C 0.015 H 276.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#797B85
RGBrgb(121, 123, 133)
HSLhsl(230, 5%, 50%)
HSVhsv(230, 9%, 52%)
CMYKcmyk(9%, 7.5%, 0%, 47.8%)
CIE-LABlab(51.75, 1.35, -5.69)
CIE-LCHlch(51.75, 5.85, 283.34°)
OKLaboklab(58.45% 0.0018 -0.0153)
OKLCHoklch(58.45% 0.015 276.9)
XYZxyz(19.2009, 19.9242, 25.0199)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B85 #858379
analogous
#798185 #797B85 #7D7985
triadic
#797B85 #85797B #7B8579
tetradic
#797B85 #857981 #858379 #79857D
square
#797B85 #857981 #858379 #79857D
split-complementary
#797B85 #857D79 #818579
monochromatic
#3F4045 #5C5D65 #797B85 #999BA2 #B9BABF

Accessibility & contrast

On white

4.21
#797B85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#797B85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B85
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B85#FFFFFF#000000##000000
##797B851.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797C86
Deuteranopia (green-blind)
#787B85
Tritanopia (blue-blind)
#777D7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797b85;
/* rgb */ color: rgb(121, 123, 133);
/* oklch */ color: oklch(58.5% 0.015 276.9);
Tailwind
colors: {
  custom: {
    50: '#9fa1a8',
    500: '#797b85',
    950: '#000000',
  },
}
SCSS
$custom: #797b85;
$custom-light: #9fa1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#797b85",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 133
  },
  "hsl": {
    "h": 230,
    "s": 4.724,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.01537,
    "h": 276.9
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#797B85
secondary
#B0AFAA
accent
#A57AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797B85

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

Preview Lab → · Contrast checker → · Palette generator →

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