#797487#797487

#797487 is a mid, muted grey. Relative luminance 0.183; OKLCH L 57.0% C 0.029 H 297.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#797487
RGBrgb(121, 116, 135)
HSLhsl(256, 8%, 49%)
HSVhsv(256, 14%, 53%)
CMYKcmyk(10.4%, 14.1%, 0%, 47.1%)
CIE-LABlab(49.86, 5.88, -9.68)
CIE-LCHlch(49.86, 11.33, 301.30°)
OKLaboklab(57% 0.0136 -0.0261)
OKLCHoklch(57% 0.029 297.5)
XYZxyz(18.5029, 18.3050, 25.4754)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797487 #828774
analogous
#747987 #797487 #837487
triadic
#797487 #877974 #748779
tetradic
#797487 #877479 #828774 #748783
square
#797487 #877479 #828774 #748783
split-complementary
#797487 #878374 #798774
monochromatic
#3E3B45 #5B5866 #797487 #9995A4 #B8B6C0

Accessibility & contrast

On white

4.51
#797487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#797487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797487
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797487#FFFFFF#000000##000000
##7974871.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#717686
Tritanopia (blue-blind)
#77777A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797487;
/* rgb */ color: rgb(121, 116, 135);
/* oklch */ color: oklch(57.0% 0.029 297.5);
Tailwind
colors: {
  custom: {
    50: '#9f9caa',
    500: '#797487',
    950: '#000000',
  },
}
SCSS
$custom: #797487;
$custom-light: #9f9caa;
$custom-dark: #000000;
JSON
{
  "hex": "#797487",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 135
  },
  "hsl": {
    "h": 255.789,
    "s": 7.57,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57,
    "c": 0.02944,
    "h": 297.5
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#797487
secondary
#ADB0A7
accent
#B177A2
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797487

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

Preview Lab → · Contrast checker → · Palette generator →

#797487 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva