#5E5864#5E5864

#5E5864 is a mid, muted grey. Relative luminance 0.103; OKLCH L 47.0% C 0.020 H 308.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5E5864
RGBrgb(94, 88, 100)
HSLhsl(270, 6%, 37%)
HSVhsv(270, 12%, 39%)
CMYKcmyk(6%, 12%, 0%, 60.8%)
CIE-LABlab(38.34, 4.97, -6.02)
CIE-LCHlch(38.34, 7.80, 309.57°)
OKLaboklab(47.03% 0.0126 -0.0161)
OKLCHoklch(47.03% 0.02 308)
XYZxyz(10.4057, 10.2793, 13.4900)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5864 #5E6458
analogous
#585864 #5E5864 #645864
triadic
#5E5864 #645E58 #58645E
tetradic
#5E5864 #645858 #5E6458 #586464
square
#5E5864 #645858 #5E6458 #586464
split-complementary
#5E5864 #646458 #586458
monochromatic
#211F23 #3F3B43 #5E5864 #7D7585 #9B95A2

Accessibility & contrast

On white

6.87
#5E5864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5E5864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5864
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5864#FFFFFF#000000##FFFFFF
##5E58641.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565A65
Deuteranopia (green-blind)
#575A64
Tritanopia (blue-blind)
#5D595C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5864;
/* rgb */ color: rgb(94, 88, 100);
/* oklch */ color: oklch(47.0% 0.020 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b8790',
    500: '#5e5864',
    950: '#000000',
  },
}
SCSS
$custom: #5e5864;
$custom-light: #8b8790;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5864",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 100
  },
  "hsl": {
    "h": 270,
    "s": 6.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47031,
    "c": 0.02046,
    "h": 308
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#5E5864
secondary
#8C9187
accent
#AF7894
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0B0C
muted
#7D7C7D

Preview Lab

Preview with #5E5864

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

Preview Lab → · Contrast checker → · Palette generator →

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