#31373B#31373B

#31373B is a dark, near-neutral cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.011 H 236.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#31373B
RGBrgb(49, 55, 59)
HSLhsl(204, 9%, 21%)
HSVhsv(204, 17%, 23%)
CMYKcmyk(16.9%, 6.8%, 0%, 76.9%)
CIE-LABlab(22.66, -1.52, -3.36)
CIE-LCHlch(22.66, 3.69, 245.61°)
OKLaboklab(33.27% -0.0059 -0.0091)
OKLCHoklch(33.27% 0.011 236.9)
XYZxyz(3.4220, 3.7010, 4.6709)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31373B #3B3531
analogous
#313B3A #31373B #31323B
triadic
#31373B #3B3137 #373B31
tetradic
#31373B #3A313B #3B3531 #323B31
square
#31373B #3A313B #3B3531 #323B31
split-complementary
#31373B #3B3132 #3B3A31
monochromatic
#0E1011 #15181A #31373B #4D565C #69757E

Accessibility & contrast

On white

12.07
#31373B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#31373B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31373B
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31373B#FFFFFF#000000##FFFFFF
##31373B1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373B
Deuteranopia (green-blind)
#34363B
Tritanopia (blue-blind)
#2E3838
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #31373b;
/* rgb */ color: rgb(49, 55, 59);
/* oklch */ color: oklch(33.3% 0.011 236.9);
Tailwind
colors: {
  custom: {
    50: '#696d70',
    500: '#31373b',
    950: '#000000',
  },
}
SCSS
$custom: #31373b;
$custom-light: #696d70;
$custom-dark: #000000;
JSON
{
  "hex": "#31373b",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 59
  },
  "hsl": {
    "h": 204,
    "s": 9.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33265,
    "c": 0.01083,
    "h": 236.9
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#31373B
secondary
#6A635D
accent
#8E76B2
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060707
muted
#7A7A7A

Preview Lab

Preview with #31373B

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

Preview Lab → · Contrast checker → · Palette generator →

#31373B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva