#797889#797889

#797889 is a mid, muted grey. Relative luminance 0.193; OKLCH L 57.9% C 0.026 H 288.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797889
RGBrgb(121, 120, 137)
HSLhsl(244, 7%, 50%)
HSVhsv(244, 12%, 54%)
CMYKcmyk(11.7%, 12.4%, 0%, 46.3%)
CIE-LABlab(51.04, 3.98, -9.10)
CIE-LCHlch(51.04, 9.93, 293.63°)
OKLaboklab(57.94% 0.0081 -0.0245)
OKLCHoklch(57.94% 0.026 288.3)
XYZxyz(19.1161, 19.3039, 26.3810)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797889 #888978
analogous
#787F89 #797889 #817889
triadic
#797889 #897978 #788979
tetradic
#797889 #89787F #888978 #788981
square
#797889 #89787F #888978 #788981
split-complementary
#797889 #898178 #7F8978
monochromatic
#3F3F48 #5C5B68 #797889 #9999A6 #BAB9C2

Accessibility & contrast

On white

4.32
#797889 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#797889 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797889
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797889#FFFFFF#000000##000000
##7978891.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#747A8A
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#767B7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797889;
/* rgb */ color: rgb(121, 120, 137);
/* oklch */ color: oklch(57.9% 0.026 288.3);
Tailwind
colors: {
  custom: {
    50: '#9f9eab',
    500: '#797889',
    950: '#000000',
  },
}
SCSS
$custom: #797889;
$custom-light: #9f9eab;
$custom-dark: #000000;
JSON
{
  "hex": "#797889",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 137
  },
  "hsl": {
    "h": 243.529,
    "s": 6.719,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.02583,
    "h": 288.3
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#797889
secondary
#B2B2AB
accent
#B078AD
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #797889

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

Preview Lab → · Contrast checker → · Palette generator →

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