#313D3E#313D3E

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

Color values

HEX#313D3E
RGBrgb(49, 61, 62)
HSLhsl(185, 12%, 22%)
HSVhsv(185, 21%, 24%)
CMYKcmyk(21%, 1.6%, 0%, 75.7%)
CIE-LABlab(24.76, -4.65, -2.26)
CIE-LCHlch(24.76, 5.17, 205.91°)
OKLaboklab(34.96% -0.0147 -0.0061)
OKLCHoklch(34.96% 0.016 202.7)
XYZxyz(3.8046, 4.3381, 5.1934)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D3E #3E3231
analogous
#313E39 #313D3E #31373E
triadic
#313D3E #3E313D #3D3E31
tetradic
#313D3E #39313E #3E3231 #373E31
square
#313D3E #39313E #3E3231 #373E31
split-complementary
#313D3E #3E3137 #3E3931
monochromatic
#0E1111 #161B1C #313D3E #4C5F60 #678082

Accessibility & contrast

On white

11.24
#313D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D3E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D3E#FFFFFF#000000##FFFFFF
##313D3E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3E
Deuteranopia (green-blind)
#393A3E
Tritanopia (blue-blind)
#2D3E3D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313d3e;
/* rgb */ color: rgb(49, 61, 62);
/* oklch */ color: oklch(35.0% 0.016 202.7);
Tailwind
colors: {
  custom: {
    50: '#697273',
    500: '#313d3e',
    950: '#000000',
  },
}
SCSS
$custom: #313d3e;
$custom-light: #697273;
$custom-dark: #000000;
JSON
{
  "hex": "#313d3e",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 62
  },
  "hsl": {
    "h": 184.615,
    "s": 11.712,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.0159,
    "h": 202.7
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#313D3E
secondary
#6E5E5D
accent
#7873B5
background
#F6F6F6
surface
#EBECEC
border
#C6C7C7
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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