#797D8D#797D8D

#797D8D is a mid, muted blue. Relative luminance 0.207; OKLCH L 59.2% C 0.025 H 274.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#797D8D
RGBrgb(121, 125, 141)
HSLhsl(228, 8%, 51%)
HSVhsv(228, 14%, 55%)
CMYKcmyk(14.2%, 11.3%, 0%, 44.7%)
CIE-LABlab(52.57, 1.96, -9.15)
CIE-LCHlch(52.57, 9.36, 282.10°)
OKLaboklab(59.18% 0.0019 -0.0247)
OKLCHoklch(59.18% 0.025 274.5)
XYZxyz(20.0254, 20.6550, 28.1259)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D8D #8D8979
analogous
#79878D #797D8D #7F798D
triadic
#797D8D #8D797D #7D8D79
tetradic
#797D8D #8D7987 #8D8979 #798D7F
square
#797D8D #8D7987 #8D8979 #798D7F
split-complementary
#797D8D #8D7F79 #878D79
monochromatic
#40424B #5C606C #797D8D #9A9DA9 #BBBDC5

Accessibility & contrast

On white

4.09
#797D8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#797D8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D8D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D8D#FFFFFF#000000##000000
##797D8D1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8E
Deuteranopia (green-blind)
#777D8D
Tritanopia (blue-blind)
#758082
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797d8d;
/* rgb */ color: rgb(121, 125, 141);
/* oklch */ color: oklch(59.2% 0.025 274.5);
Tailwind
colors: {
  custom: {
    50: '#9fa2ae',
    500: '#797d8d',
    950: '#000000',
  },
}
SCSS
$custom: #797d8d;
$custom-light: #9fa2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#797d8d",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 8.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.0248,
    "h": 274.5
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#797D8D
secondary
#B5B4AC
accent
#A577B1
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F10
muted
#7E7E7F

Preview Lab

Preview with #797D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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