#56545F#56545F

#56545F is a mid, near-neutral grey. Relative luminance 0.091; OKLCH L 45.2% C 0.018 H 294.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#56545F
RGBrgb(86, 84, 95)
HSLhsl(251, 6%, 35%)
HSVhsv(251, 12%, 37%)
CMYKcmyk(9.5%, 11.6%, 0%, 62.7%)
CIE-LABlab(36.26, 3.24, -6.08)
CIE-LCHlch(36.26, 6.89, 298.09°)
OKLaboklab(45.17% 0.0073 -0.0163)
OKLCHoklch(45.17% 0.018 294)
XYZxyz(9.0732, 9.1453, 12.1115)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56545F #5D5F54
analogous
#54585F #56545F #5B545F
triadic
#56545F #5F5654 #545F56
tetradic
#56545F #5F5458 #5D5F54 #545F5B
square
#56545F #5F5458 #5D5F54 #545F5B
split-complementary
#56545F #5F5B54 #585F54
monochromatic
#1B1B1E #39373F #56545F #73717F #93909D

Accessibility & contrast

On white

7.42
#56545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#56545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56545F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56545F#FFFFFF#000000##FFFFFF
##56545F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525560
Deuteranopia (green-blind)
#52555F
Tritanopia (blue-blind)
#545658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #56545f;
/* rgb */ color: rgb(86, 84, 95);
/* oklch */ color: oklch(45.2% 0.018 294.0);
Tailwind
colors: {
  custom: {
    50: '#85848c',
    500: '#56545f',
    950: '#000000',
  },
}
SCSS
$custom: #56545f;
$custom-light: #85848c;
$custom-dark: #000000;
JSON
{
  "hex": "#56545f",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 250.909,
    "s": 6.145,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.01789,
    "h": 294
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#56545F
secondary
#8B8D82
accent
#AF79A5
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0B0A0C
muted
#7C7C7D

Preview Lab

Preview with #56545F

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

Preview Lab → · Contrast checker → · Palette generator →

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