#5B5960#5B5960

#5B5960 is a mid, near-neutral grey. Relative luminance 0.102; OKLCH L 46.8% C 0.011 H 299.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5B5960
RGBrgb(91, 89, 96)
HSLhsl(257, 4%, 36%)
HSVhsv(257, 7%, 38%)
CMYKcmyk(5.2%, 7.3%, 0%, 62.4%)
CIE-LABlab(38.22, 2.31, -3.74)
CIE-LCHlch(38.22, 4.39, 301.67°)
OKLaboklab(46.83% 0.0055 -0.01)
OKLCHoklch(46.83% 0.011 299)
XYZxyz(9.9977, 10.2134, 12.5087)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5960 #5E6059
analogous
#595B60 #5B5960 #5F5960
triadic
#5B5960 #605B59 #59605B
tetradic
#5B5960 #60595B #5E6059 #59605F
square
#5B5960 #60595B #5E6059 #59605F
split-complementary
#5B5960 #605F59 #5B6059
monochromatic
#1F1E20 #3D3C40 #5B5960 #797680 #98969E

Accessibility & contrast

On white

6.90
#5B5960 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5B5960 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5960
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5960#FFFFFF#000000##FFFFFF
##5B59601.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A60
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#5A5A5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5960;
/* rgb */ color: rgb(91, 89, 96);
/* oklch */ color: oklch(46.8% 0.011 299.0);
Tailwind
colors: {
  custom: {
    50: '#89878d',
    500: '#5b5960',
    950: '#000000',
  },
}
SCSS
$custom: #5b5960;
$custom-light: #89878d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5960",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 96
  },
  "hsl": {
    "h": 257.143,
    "s": 3.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.01141,
    "h": 299
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#5B5960
secondary
#8C8D87
accent
#AD7B9F
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0B0B0C
muted
#7C7C7D

Preview Lab

Preview with #5B5960

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

Preview Lab → · Contrast checker → · Palette generator →

#5B5960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva