#515B4E#515B4E

#515B4E is a mid, muted grey. Relative luminance 0.098; OKLCH L 45.8% C 0.024 H 138.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#515B4E
RGBrgb(81, 91, 78)
HSLhsl(106, 8%, 33%)
HSVhsv(106, 14%, 36%)
CMYKcmyk(11%, 0%, 14.3%, 64.3%)
CIE-LABlab(37.45, -6.70, 6.19)
CIE-LCHlch(37.45, 9.12, 137.28°)
OKLaboklab(45.83% -0.0181 0.016)
OKLCHoklch(45.83% 0.024 138.5)
XYZxyz(8.5093, 9.7815, 8.6460)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B4E #584E5B
analogous
#575B4E #515B4E #4E5B51
triadic
#515B4E #4E515B #5B4E51
tetradic
#515B4E #4E575B #584E5B #5B514E
square
#515B4E #4E575B #584E5B #5B514E
split-complementary
#515B4E #514E5B #5B4E57
monochromatic
#161916 #343A32 #515B4E #6E7C6A #8D9A89

Accessibility & contrast

On white

7.10
#515B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#515B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B4E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B4E#FFFFFF#000000##FFFFFF
##515B4E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594D
Deuteranopia (green-blind)
#5A584F
Tritanopia (blue-blind)
#515A57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #515b4e;
/* rgb */ color: rgb(81, 91, 78);
/* oklch */ color: oklch(45.8% 0.024 138.5);
Tailwind
colors: {
  custom: {
    50: '#81897f',
    500: '#515b4e',
    950: '#000000',
  },
}
SCSS
$custom: #515b4e;
$custom-light: #81897f;
$custom-dark: #000000;
JSON
{
  "hex": "#515b4e",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 106.154,
    "s": 7.692,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.02419,
    "h": 138.5
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#515B4E
secondary
#867C89
accent
#77B1A3
background
#F7F8F7
surface
#EEF0EE
border
#C9CBC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #515B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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