#797485#797485

#797485 is a mid, muted grey. Relative luminance 0.182; OKLCH L 56.9% C 0.026 H 299.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#797485
RGBrgb(121, 116, 133)
HSLhsl(258, 7%, 49%)
HSVhsv(258, 13%, 52%)
CMYKcmyk(9%, 12.8%, 0%, 47.8%)
CIE-LABlab(49.80, 5.44, -8.60)
CIE-LCHlch(49.80, 10.18, 302.33°)
OKLaboklab(56.93% 0.0128 -0.0231)
OKLCHoklch(56.93% 0.026 299)
XYZxyz(18.3634, 18.2492, 24.7408)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797485 #808574
analogous
#747885 #797485 #827485
triadic
#797485 #857974 #748579
tetradic
#797485 #857478 #808574 #748582
square
#797485 #857478 #808574 #748582
split-complementary
#797485 #858274 #788574
monochromatic
#3E3B44 #5B5764 #797485 #9894A2 #B8B5BE

Accessibility & contrast

On white

4.52
#797485 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#797485 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797485
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797485#FFFFFF#000000##000000
##7974851.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#717686
Deuteranopia (green-blind)
#727684
Tritanopia (blue-blind)
#77767A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797485;
/* rgb */ color: rgb(121, 116, 133);
/* oklch */ color: oklch(56.9% 0.026 299.0);
Tailwind
colors: {
  custom: {
    50: '#9f9ca8',
    500: '#797485',
    950: '#000000',
  },
}
SCSS
$custom: #797485;
$custom-light: #9f9ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#797485",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 133
  },
  "hsl": {
    "h": 257.647,
    "s": 6.827,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.02646,
    "h": 299
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#797485
secondary
#ACAEA6
accent
#B0789F
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797485

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

Preview Lab → · Contrast checker → · Palette generator →

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