#313136#313136

#313136 is a dark, near-neutral grey. Relative luminance 0.031; OKLCH L 31.5% C 0.009 H 285.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#313136
RGBrgb(49, 49, 54)
HSLhsl(240, 5%, 20%)
HSVhsv(240, 9%, 21%)
CMYKcmyk(9.3%, 9.3%, 0%, 78.8%)
CIE-LABlab(20.50, 1.21, -3.17)
CIE-LCHlch(20.50, 3.39, 290.98°)
OKLaboklab(31.51% 0.0024 -0.0085)
OKLCHoklch(31.51% 0.009 285.9)
XYZxyz(3.0307, 3.1159, 3.9311)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313136 #363631
analogous
#313336 #313136 #333136
triadic
#313136 #363131 #313631
tetradic
#313136 #363133 #363631 #313633
square
#313136 #363133 #363631 #313633
split-complementary
#313136 #363331 #333631
monochromatic
#0F0F10 #141416 #313136 #4E4E56 #6B6B76

Accessibility & contrast

On white

12.94
#313136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#313136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313136
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313136#FFFFFF#000000##FFFFFF
##3131361.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303236
Deuteranopia (green-blind)
#303136
Tritanopia (blue-blind)
#303233
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #313136;
/* rgb */ color: rgb(49, 49, 54);
/* oklch */ color: oklch(31.5% 0.009 285.9);
Tailwind
colors: {
  custom: {
    50: '#69696d',
    500: '#313136',
    950: '#000000',
  },
}
SCSS
$custom: #313136;
$custom-light: #69696d;
$custom-dark: #000000;
JSON
{
  "hex": "#313136",
  "rgb": {
    "r": 49,
    "g": 49,
    "b": 54
  },
  "hsl": {
    "h": 240,
    "s": 4.854,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.00883,
    "h": 285.9
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#313136
secondary
#65655E
accent
#AE7AAE
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #313136

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

Preview Lab → · Contrast checker → · Palette generator →

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