#797486#797486

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

Color values

HEX#797486
RGBrgb(121, 116, 134)
HSLhsl(257, 7%, 49%)
HSVhsv(257, 13%, 53%)
CMYKcmyk(9.7%, 13.4%, 0%, 47.5%)
CIE-LABlab(49.83, 5.66, -9.14)
CIE-LCHlch(49.83, 10.75, 301.78°)
OKLaboklab(56.96% 0.0132 -0.0246)
OKLCHoklch(56.96% 0.028 298.2)
XYZxyz(18.4328, 18.2769, 25.1063)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797486 #818674
analogous
#747886 #797486 #827486
triadic
#797486 #867974 #748679
tetradic
#797486 #867478 #818674 #748682
square
#797486 #867478 #818674 #748682
split-complementary
#797486 #868274 #788674
monochromatic
#3E3B44 #5B5865 #797486 #9894A3 #B8B5BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797486#FFFFFF#000000##000000
##7974861.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)
#717787
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#77767A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797486;
/* rgb */ color: rgb(121, 116, 134);
/* oklch */ color: oklch(57.0% 0.028 298.2);
Tailwind
colors: {
  custom: {
    50: '#9f9ca9',
    500: '#797486',
    950: '#000000',
  },
}
SCSS
$custom: #797486;
$custom-light: #9f9ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#797486",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 134
  },
  "hsl": {
    "h": 256.667,
    "s": 7.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.02795,
    "h": 298.2
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#797486
secondary
#ADAFA7
accent
#B078A1
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797486

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

Preview Lab → · Contrast checker → · Palette generator →

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