#31362F#31362F

#31362F is a dark, near-neutral grey. Relative luminance 0.035; OKLCH L 32.6% C 0.014 H 136.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#31362F
RGBrgb(49, 54, 47)
HSLhsl(103, 7%, 20%)
HSVhsv(103, 13%, 21%)
CMYKcmyk(9.3%, 0%, 13%, 78.8%)
CIE-LABlab(21.93, -3.77, 3.68)
CIE-LCHlch(21.93, 5.26, 135.70°)
OKLaboklab(32.56% -0.0101 0.0096)
OKLCHoklch(32.56% 0.014 136.7)
XYZxyz(3.0988, 3.4965, 3.2004)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31362F #342F36
analogous
#35362F #31362F #2F3631
triadic
#31362F #2F3136 #362F31
tetradic
#31362F #2F3536 #342F36 #36312F
square
#31362F #2F3536 #342F36 #36312F
split-complementary
#31362F #312F36 #362F35
monochromatic
#0F100E #131513 #31362F #4F574B #6C7768

Accessibility & contrast

On white

12.36
#31362F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#31362F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31362F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31362F#FFFFFF#000000##FFFFFF
##31362F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#36342F
Tritanopia (blue-blind)
#313534
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #31362f;
/* rgb */ color: rgb(49, 54, 47);
/* oklch */ color: oklch(32.6% 0.014 136.7);
Tailwind
colors: {
  custom: {
    50: '#696d67',
    500: '#31362f',
    950: '#000000',
  },
}
SCSS
$custom: #31362f;
$custom-light: #696d67;
$custom-dark: #000000;
JSON
{
  "hex": "#31362f",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 47
  },
  "hsl": {
    "h": 102.857,
    "s": 6.931,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.01393,
    "h": 136.7
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#31362F
secondary
#625C65
accent
#78B0A0
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #31362F

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

Preview Lab → · Contrast checker → · Palette generator →

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