#313D3F#313D3F

#313D3F is a dark, near-neutral teal. Relative luminance 0.043; OKLCH L 35.0% C 0.016 H 208.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#313D3F
RGBrgb(49, 61, 63)
HSLhsl(189, 13%, 22%)
HSVhsv(189, 22%, 25%)
CMYKcmyk(22.2%, 3.2%, 0%, 75.3%)
CIE-LABlab(24.79, -4.38, -2.87)
CIE-LCHlch(24.79, 5.24, 213.22°)
OKLaboklab(35% -0.0142 -0.0078)
OKLCHoklch(35% 0.016 208.8)
XYZxyz(3.8323, 4.3492, 5.3392)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D3F #3F3331
analogous
#313F3A #313D3F #31363F
triadic
#313D3F #3F313D #3D3F31
tetradic
#313D3F #3A313F #3F3331 #363F31
square
#313D3F #3A313F #3F3331 #363F31
split-complementary
#313D3F #3F3136 #3F3A31
monochromatic
#0D1111 #161C1D #313D3F #4C5E61 #678084

Accessibility & contrast

On white

11.23
#313D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#313D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D3F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D3F#FFFFFF#000000##FFFFFF
##313D3F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3F
Deuteranopia (green-blind)
#383A3F
Tritanopia (blue-blind)
#2D3E3E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313d3f;
/* rgb */ color: rgb(49, 61, 63);
/* oklch */ color: oklch(35.0% 0.016 208.8);
Tailwind
colors: {
  custom: {
    50: '#697274',
    500: '#313d3f',
    950: '#000000',
  },
}
SCSS
$custom: #313d3f;
$custom-light: #697274;
$custom-dark: #000000;
JSON
{
  "hex": "#313d3f",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 63
  },
  "hsl": {
    "h": 188.571,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35,
    "c": 0.01619,
    "h": 208.8
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#313D3F
secondary
#6F605D
accent
#7C72B5
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313D3F

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

Preview Lab → · Contrast checker → · Palette generator →

#313D3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva