#797285#797285

#797285 is a mid, muted grey. Relative luminance 0.178; OKLCH L 56.5% C 0.030 H 302.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#797285
RGBrgb(121, 114, 133)
HSLhsl(262, 8%, 48%)
HSVhsv(262, 14%, 52%)
CMYKcmyk(9%, 14.3%, 0%, 47.8%)
CIE-LABlab(49.24, 6.63, -9.43)
CIE-LCHlch(49.24, 11.52, 305.09°)
OKLaboklab(56.5% 0.016 -0.0254)
OKLCHoklch(56.5% 0.03 302.2)
XYZxyz(18.1353, 17.7930, 24.6647)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797285 #7E8572
analogous
#727485 #797285 #827285
triadic
#797285 #857972 #728579
tetradic
#797285 #857274 #7E8572 #728582
square
#797285 #857274 #7E8572 #728582
split-complementary
#797285 #858272 #748572
monochromatic
#3D3A43 #5B5664 #797285 #9892A2 #B7B3BE

Accessibility & contrast

On white

4.61
#797285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#797285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797285
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797285#FFFFFF#000000##FFFFFF
##7972851.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7586
Deuteranopia (green-blind)
#707584
Tritanopia (blue-blind)
#777478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797285;
/* rgb */ color: rgb(121, 114, 133);
/* oklch */ color: oklch(56.5% 0.030 302.2);
Tailwind
colors: {
  custom: {
    50: '#9f9aa8',
    500: '#797285',
    950: '#000000',
  },
}
SCSS
$custom: #797285;
$custom-light: #9f9aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#797285",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 133
  },
  "hsl": {
    "h": 262.105,
    "s": 7.692,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.03001,
    "h": 302.2
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#797285
secondary
#ABAEA5
accent
#B1779B
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797285

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

Preview Lab → · Contrast checker → · Palette generator →

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