#31373F#31373F

#31373F is a dark, near-neutral cyan. Relative luminance 0.037; OKLCH L 33.4% C 0.016 H 255.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#31373F
RGBrgb(49, 55, 63)
HSLhsl(214, 13%, 22%)
HSVhsv(214, 22%, 25%)
CMYKcmyk(22.2%, 12.7%, 0%, 75.3%)
CIE-LABlab(22.81, -0.45, -5.83)
CIE-LCHlch(22.81, 5.85, 265.56°)
OKLaboklab(33.43% -0.0041 -0.0158)
OKLCHoklch(33.43% 0.016 255.6)
XYZxyz(3.5298, 3.7441, 5.2384)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31373F #3F3931
analogous
#313E3F #31373F #32313F
triadic
#31373F #3F3137 #373F31
tetradic
#31373F #3F313E #3F3931 #313F32
square
#31373F #3F313E #3F3931 #313F32
split-complementary
#31373F #3F3231 #3E3F31
monochromatic
#0D0F11 #16191D #31373F #4C5561 #677384

Accessibility & contrast

On white

12.01
#31373F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#31373F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31373F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31373F#FFFFFF#000000##FFFFFF
##31373F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373F
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#2D393A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #31373f;
/* rgb */ color: rgb(49, 55, 63);
/* oklch */ color: oklch(33.4% 0.016 255.6);
Tailwind
colors: {
  custom: {
    50: '#696d74',
    500: '#31373f',
    950: '#000000',
  },
}
SCSS
$custom: #31373f;
$custom-light: #696d74;
$custom-dark: #000000;
JSON
{
  "hex": "#31373f",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 63
  },
  "hsl": {
    "h": 214.286,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.01634,
    "h": 255.6
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#31373F
secondary
#6F675D
accent
#9972B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #31373F

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

Preview Lab → · Contrast checker → · Palette generator →

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