#31373E#31373E

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

Color values

HEX#31373E
RGBrgb(49, 55, 62)
HSLhsl(212, 12%, 22%)
HSVhsv(212, 21%, 24%)
CMYKcmyk(21%, 11.3%, 0%, 75.7%)
CIE-LABlab(22.77, -0.73, -5.22)
CIE-LCHlch(22.77, 5.27, 262.07°)
OKLaboklab(33.39% -0.0045 -0.0141)
OKLCHoklch(33.39% 0.015 252.3)
XYZxyz(3.5021, 3.7331, 5.0925)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31373E #3E3831
analogous
#313E3E #31373E #32313E
triadic
#31373E #3E3137 #373E31
tetradic
#31373E #3E313E #3E3831 #313E32
square
#31373E #3E313E #3E3831 #313E32
split-complementary
#31373E #3E3231 #3E3E31
monochromatic
#0E0F11 #16191C #31373E #4C5560 #677482

Accessibility & contrast

On white

12.02
#31373E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31373E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31373E#FFFFFF#000000##FFFFFF
##31373E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373E
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#2E3939
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #31373e;
/* rgb */ color: rgb(49, 55, 62);
/* oklch */ color: oklch(33.4% 0.015 252.3);
Tailwind
colors: {
  custom: {
    50: '#696d73',
    500: '#31373e',
    950: '#000000',
  },
}
SCSS
$custom: #31373e;
$custom-light: #696d73;
$custom-dark: #000000;
JSON
{
  "hex": "#31373e",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 62
  },
  "hsl": {
    "h": 212.308,
    "s": 11.712,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33389,
    "c": 0.01484,
    "h": 252.3
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#31373E
secondary
#6E665D
accent
#9673B5
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #31373E

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

Preview Lab → · Contrast checker → · Palette generator →

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