#5B5259#5B5259

#5B5259 is a dark, near-neutral grey. Relative luminance 0.090; OKLCH L 45.0% C 0.016 H 333.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5B5259
RGBrgb(91, 82, 89)
HSLhsl(313, 5%, 34%)
HSVhsv(313, 10%, 36%)
CMYKcmyk(0%, 9.9%, 2.2%, 64.3%)
CIE-LABlab(35.95, 5.12, -2.74)
CIE-LCHlch(35.95, 5.81, 331.89°)
OKLaboklab(44.98% 0.0144 -0.0072)
OKLCHoklch(44.98% 0.016 333.4)
XYZxyz(9.1346, 8.9801, 10.7014)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5259 #525B54
analogous
#59525B #5B5259 #5B5255
triadic
#5B5259 #595B52 #52595B
tetradic
#5B5259 #5B5952 #525B54 #52555B
square
#5B5259 #5B5952 #525B54 #52555B
split-complementary
#5B5259 #555B52 #525B59
monochromatic
#1B181A #3B353A #5B5259 #7B6F78 #998E97

Accessibility & contrast

On white

7.51
#5B5259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5B5259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B5259
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5259#FFFFFF#000000##FFFFFF
##5B52591.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525459
Deuteranopia (green-blind)
#545559
Tritanopia (blue-blind)
#5C5254
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5b5259;
/* rgb */ color: rgb(91, 82, 89);
/* oklch */ color: oklch(45.0% 0.016 333.4);
Tailwind
colors: {
  custom: {
    50: '#898287',
    500: '#5b5259',
    950: '#000000',
  },
}
SCSS
$custom: #5b5259;
$custom-light: #898287;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5259",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 89
  },
  "hsl": {
    "h": 313.333,
    "s": 5.202,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.01613,
    "h": 333.4
  },
  "luminance": 0.0898
}

Semantic roles & 50–950 ramp

primary
#5B5259
secondary
#808982
accent
#AE8579
background
#F8F7F8
surface
#F0EEEF
border
#CBC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5B5259

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

Preview Lab → · Contrast checker → · Palette generator →

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