#515657#515657

#515657 is a dark, near-neutral grey. Relative luminance 0.091; OKLCH L 44.9% C 0.007 H 211.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#515657
RGBrgb(81, 86, 87)
HSLhsl(190, 4%, 33%)
HSVhsv(190, 7%, 34%)
CMYKcmyk(6.9%, 1.1%, 0%, 65.9%)
CIE-LABlab(36.16, -1.76, -1.27)
CIE-LCHlch(36.16, 2.17, 215.77°)
OKLaboklab(44.9% -0.0057 -0.0034)
OKLCHoklch(44.9% 0.007 211.1)
XYZxyz(8.4411, 9.0929, 10.3254)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515657 #575251
analogous
#515755 #515657 #515357
triadic
#515657 #575156 #565751
tetradic
#515657 #555157 #575251 #535751
square
#515657 #555157 #575251 #535751
split-complementary
#515657 #575153 #575551
monochromatic
#161718 #333737 #515657 #6F7577 #8D9495

Accessibility & contrast

On white

7.45
#515657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#515657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515657
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515657#FFFFFF#000000##FFFFFF
##5156571.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555657
Deuteranopia (green-blind)
#545557
Tritanopia (blue-blind)
#4F5756
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515657;
/* rgb */ color: rgb(81, 86, 87);
/* oklch */ color: oklch(44.9% 0.007 211.1);
Tailwind
colors: {
  custom: {
    50: '#818586',
    500: '#515657',
    950: '#000000',
  },
}
SCSS
$custom: #515657;
$custom-light: #818586;
$custom-dark: #000000;
JSON
{
  "hex": "#515657",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 87
  },
  "hsl": {
    "h": 190,
    "s": 3.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.00661,
    "h": 211.1
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#515657
secondary
#85807F
accent
#837BAD
background
#F7F8F8
surface
#EEEFEF
border
#C9CACA
text
#0A0B0B
muted
#7C7C7C

Preview Lab

Preview with #515657

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

Preview Lab → · Contrast checker → · Palette generator →

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