#56585F#56585F

#56585F is a mid, near-neutral grey. Relative luminance 0.098; OKLCH L 46.1% C 0.012 H 273.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#56585F
RGBrgb(86, 88, 95)
HSLhsl(227, 5%, 35%)
HSVhsv(227, 9%, 37%)
CMYKcmyk(9.5%, 7.4%, 0%, 62.7%)
CIE-LABlab(37.45, 0.77, -4.31)
CIE-LCHlch(37.45, 4.38, 280.10°)
OKLaboklab(46.11% 0.0006 -0.0116)
OKLCHoklch(46.11% 0.012 273.2)
XYZxyz(9.3926, 9.7840, 12.2179)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56585F #5F5D56
analogous
#565C5F #56585F #58565F
triadic
#56585F #5F5658 #585F56
tetradic
#56585F #5F565C #5F5D56 #565F58
square
#56585F #5F565C #5F5D56 #565F58
split-complementary
#56585F #5F5856 #5C5F56
monochromatic
#1C1C1F #393A3F #56585F #73767F #93959D

Accessibility & contrast

On white

7.10
#56585F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#56585F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56585F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56585F#FFFFFF#000000##FFFFFF
##56585F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56595F
Deuteranopia (green-blind)
#56585F
Tritanopia (blue-blind)
#54595A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #56585f;
/* rgb */ color: rgb(86, 88, 95);
/* oklch */ color: oklch(46.1% 0.012 273.2);
Tailwind
colors: {
  custom: {
    50: '#85878c',
    500: '#56585f',
    950: '#000000',
  },
}
SCSS
$custom: #56585f;
$custom-light: #85878c;
$custom-dark: #000000;
JSON
{
  "hex": "#56585f",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 95
  },
  "hsl": {
    "h": 226.667,
    "s": 4.972,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.01158,
    "h": 273.2
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#56585F
secondary
#8D8B84
accent
#A27AAE
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0B0B0C
muted
#7C7C7D

Preview Lab

Preview with #56585F

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

Preview Lab → · Contrast checker → · Palette generator →

#56585F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva