#797488#797488

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

Color values

HEX#797488
RGBrgb(121, 116, 136)
HSLhsl(255, 8%, 49%)
HSVhsv(255, 15%, 53%)
CMYKcmyk(11%, 14.7%, 0%, 46.7%)
CIE-LABlab(49.90, 6.11, -10.22)
CIE-LCHlch(49.90, 11.91, 300.86°)
OKLaboklab(57.04% 0.014 -0.0276)
OKLCHoklch(57.04% 0.031 296.8)
XYZxyz(18.5736, 18.3332, 25.8479)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797488 #838874
analogous
#747988 #797488 #837488
triadic
#797488 #887974 #748879
tetradic
#797488 #887479 #838874 #748883
square
#797488 #887479 #838874 #748883
split-complementary
#797488 #888374 #798874
monochromatic
#3E3C46 #5C5867 #797488 #9995A4 #B9B6C1

Accessibility & contrast

On white

4.50
#797488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#797488 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797488
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797488#FFFFFF#000000##000000
##7974881.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707789
Deuteranopia (green-blind)
#717687
Tritanopia (blue-blind)
#76777B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797488;
/* rgb */ color: rgb(121, 116, 136);
/* oklch */ color: oklch(57.0% 0.031 296.8);
Tailwind
colors: {
  custom: {
    50: '#9f9caa',
    500: '#797488',
    950: '#000000',
  },
}
SCSS
$custom: #797488;
$custom-light: #9f9caa;
$custom-dark: #000000;
JSON
{
  "hex": "#797488",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 136
  },
  "hsl": {
    "h": 255,
    "s": 7.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.03093,
    "h": 296.8
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797488

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

Preview Lab → · Contrast checker → · Palette generator →

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