#313636#313636

#313636 is a dark, near-neutral grey. Relative luminance 0.036; OKLCH L 32.8% C 0.007 H 196.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#313636
RGBrgb(49, 54, 54)
HSLhsl(180, 5%, 20%)
HSVhsv(180, 9%, 21%)
CMYKcmyk(9.3%, 0%, 0%, 78.8%)
CIE-LABlab(22.15, -2.13, -0.73)
CIE-LCHlch(22.15, 2.26, 198.98°)
OKLaboklab(32.81% -0.0066 -0.002)
OKLCHoklch(32.81% 0.007 196.8)
XYZxyz(3.2515, 3.5576, 4.0047)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313636 #363131
analogous
#313633 #313636 #313336
triadic
#313636 #363136 #363631
tetradic
#313636 #333136 #363131 #333631
square
#313636 #333136 #363131 #333631
split-complementary
#313636 #363133 #363331
monochromatic
#0F1010 #141616 #313636 #4E5656 #6B7676

Accessibility & contrast

On white

12.27
#313636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#313636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313636
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313636#FFFFFF#000000##FFFFFF
##3136361.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353536
Deuteranopia (green-blind)
#343536
Tritanopia (blue-blind)
#303636
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313636;
/* rgb */ color: rgb(49, 54, 54);
/* oklch */ color: oklch(32.8% 0.007 196.8);
Tailwind
colors: {
  custom: {
    50: '#696d6c',
    500: '#313636',
    950: '#000000',
  },
}
SCSS
$custom: #313636;
$custom-light: #696d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#313636",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 54
  },
  "hsl": {
    "h": 180,
    "s": 4.854,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.00687,
    "h": 196.8
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#313636
secondary
#655E5E
accent
#7A7AAE
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060707
muted
#7A7A7A

Preview Lab

Preview with #313636

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

Preview Lab → · Contrast checker → · Palette generator →

#313636 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva