#515A4E#515A4E

#515A4E is a mid, muted grey. Relative luminance 0.096; OKLCH L 45.6% C 0.022 H 137.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#515A4E
RGBrgb(81, 90, 78)
HSLhsl(105, 7%, 33%)
HSVhsv(105, 13%, 35%)
CMYKcmyk(10%, 0%, 13.3%, 64.7%)
CIE-LABlab(37.14, -6.10, 5.74)
CIE-LCHlch(37.14, 8.38, 136.74°)
OKLaboklab(45.59% -0.0165 0.0149)
OKLCHoklch(45.59% 0.022 137.8)
XYZxyz(8.4244, 9.6116, 8.6177)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A4E #574E5A
analogous
#575A4E #515A4E #4E5A51
triadic
#515A4E #4E515A #5A4E51
tetradic
#515A4E #4E575A #574E5A #5A514E
square
#515A4E #4E575A #574E5A #5A514E
split-complementary
#515A4E #514E5A #5A4E57
monochromatic
#161815 #333932 #515A4E #6F7B6A #8D9989

Accessibility & contrast

On white

7.19
#515A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#515A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515A4E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A4E#FFFFFF#000000##FFFFFF
##515A4E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#515957
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515a4e;
/* rgb */ color: rgb(81, 90, 78);
/* oklch */ color: oklch(45.6% 0.022 137.8);
Tailwind
colors: {
  custom: {
    50: '#81887f',
    500: '#515a4e',
    950: '#000000',
  },
}
SCSS
$custom: #515a4e;
$custom-light: #81887f;
$custom-dark: #000000;
JSON
{
  "hex": "#515a4e",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 105,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.02222,
    "h": 137.8
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#515A4E
secondary
#857C88
accent
#78B0A2
background
#F7F8F7
surface
#EEEFEE
border
#C9CAC9
text
#0A0B0A
muted
#7C7C7C

Preview Lab

Preview with #515A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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