#515B59#515B59

#515B59 is a mid, near-neutral grey. Relative luminance 0.100; OKLCH L 46.2% C 0.013 H 182.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#515B59
RGBrgb(81, 91, 89)
HSLhsl(168, 6%, 34%)
HSVhsv(168, 11%, 36%)
CMYKcmyk(11%, 0%, 2.2%, 64.3%)
CIE-LABlab(37.76, -4.35, -0.18)
CIE-LCHlch(37.76, 4.35, 182.35°)
OKLaboklab(46.18% -0.0129 -0.0005)
OKLCHoklch(46.18% 0.013 182.4)
XYZxyz(8.9372, 9.9526, 10.8994)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B59 #5B5153
analogous
#515B54 #515B59 #51585B
triadic
#515B59 #59515B #5B5951
tetradic
#515B59 #54515B #5B5153 #585B51
square
#515B59 #54515B #5B5153 #585B51
split-complementary
#515B59 #5B5158 #5B5451
monochromatic
#171A1A #343B39 #515B59 #6E7B79 #8D9997

Accessibility & contrast

On white

7.02
#515B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#515B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B59
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B59#FFFFFF#000000##FFFFFF
##515B591.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5A59
Deuteranopia (green-blind)
#585859
Tritanopia (blue-blind)
#4F5B5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #515b59;
/* rgb */ color: rgb(81, 91, 89);
/* oklch */ color: oklch(46.2% 0.013 182.4);
Tailwind
colors: {
  custom: {
    50: '#818987',
    500: '#515b59',
    950: '#000000',
  },
}
SCSS
$custom: #515b59;
$custom-light: #818987;
$custom-dark: #000000;
JSON
{
  "hex": "#515b59",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 89
  },
  "hsl": {
    "h": 168,
    "s": 5.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.01293,
    "h": 182.4
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#515B59
secondary
#897F81
accent
#7984AF
background
#F7F8F8
surface
#EEF0EF
border
#C9CBCA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #515B59

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

Preview Lab → · Contrast checker → · Palette generator →

#515B59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva