#798285#798285

#798285 is a mid, near-neutral grey. Relative luminance 0.217; OKLCH L 60.0% C 0.012 H 219.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#798285
RGBrgb(121, 130, 133)
HSLhsl(195, 5%, 50%)
HSVhsv(195, 9%, 52%)
CMYKcmyk(9%, 2.3%, 0%, 47.8%)
CIE-LABlab(53.73, -2.68, -2.76)
CIE-LCHlch(53.73, 3.85, 225.87°)
OKLaboklab(60.01% -0.0089 -0.0074)
OKLCHoklch(60.01% 0.012 219.7)
XYZxyz(20.1005, 21.7234, 25.3198)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798285 #857C79
analogous
#798582 #798285 #797C85
triadic
#798285 #857982 #828579
tetradic
#798285 #827985 #857C79 #7C8579
square
#798285 #827985 #857C79 #7C8579
split-complementary
#798285 #85797C #858279
monochromatic
#3F4345 #5C6365 #798285 #99A0A2 #B9BEBF

Accessibility & contrast

On white

3.93
#798285 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#798285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798285
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798285#FFFFFF#000000##000000
##7982851.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808185
Deuteranopia (green-blind)
#7E8085
Tritanopia (blue-blind)
#768383
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798285;
/* rgb */ color: rgb(121, 130, 133);
/* oklch */ color: oklch(60.0% 0.012 219.7);
Tailwind
colors: {
  custom: {
    50: '#9fa6a8',
    500: '#798285',
    950: '#000000',
  },
}
SCSS
$custom: #798285;
$custom-light: #9fa6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#798285",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 133
  },
  "hsl": {
    "h": 195,
    "s": 4.724,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.01163,
    "h": 219.7
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#798285
secondary
#B0ACAA
accent
#877AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798285

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

Preview Lab → · Contrast checker → · Palette generator →

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