#31373A#31373A

#31373A is a dark, near-neutral cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.010 H 229.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#31373A
RGBrgb(49, 55, 58)
HSLhsl(200, 8%, 21%)
HSVhsv(200, 16%, 23%)
CMYKcmyk(15.5%, 5.2%, 0%, 77.3%)
CIE-LABlab(22.62, -1.79, -2.74)
CIE-LCHlch(22.62, 3.27, 236.91°)
OKLaboklab(33.23% -0.0064 -0.0074)
OKLCHoklch(33.23% 0.01 229.2)
XYZxyz(3.3963, 3.6908, 4.5356)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31373A #3A3431
analogous
#313A38 #31373A #31323A
triadic
#31373A #3A3137 #373A31
tetradic
#31373A #38313A #3A3431 #323A31
square
#31373A #38313A #3A3431 #323A31
split-complementary
#31373A #3A3132 #3A3831
monochromatic
#0E1011 #151819 #31373A #4D565B #69767C

Accessibility & contrast

On white

12.08
#31373A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31373A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31373A#FFFFFF#000000##FFFFFF
##31373A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31373a;
/* rgb */ color: rgb(49, 55, 58);
/* oklch */ color: oklch(33.2% 0.010 229.2);
Tailwind
colors: {
  custom: {
    50: '#696d70',
    500: '#31373a',
    950: '#000000',
  },
}
SCSS
$custom: #31373a;
$custom-light: #696d70;
$custom-dark: #000000;
JSON
{
  "hex": "#31373a",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 58
  },
  "hsl": {
    "h": 200,
    "s": 8.411,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33225,
    "c": 0.00977,
    "h": 229.2
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#31373A
secondary
#69615E
accent
#8A76B1
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060707
muted
#7A7A7A

Preview Lab

Preview with #31373A

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

Preview Lab → · Contrast checker → · Palette generator →

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