#313F41#313F41

#313F41 is a dark, near-neutral teal. Relative luminance 0.046; OKLCH L 35.6% C 0.019 H 207.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#313F41
RGBrgb(49, 63, 65)
HSLhsl(188, 14%, 22%)
HSVhsv(188, 25%, 25%)
CMYKcmyk(24.6%, 3.1%, 0%, 74.5%)
CIE-LABlab(25.53, -5.13, -3.10)
CIE-LCHlch(25.53, 5.99, 211.18°)
OKLaboklab(35.61% -0.0165 -0.0084)
OKLCHoklch(35.61% 0.019 207)
XYZxyz(3.9980, 4.5895, 5.6752)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F41 #413331
analogous
#31413B #313F41 #313741
triadic
#313F41 #41313F #3F4131
tetradic
#313F41 #3B3141 #413331 #374131
square
#313F41 #3B3141 #413331 #374131
split-complementary
#313F41 #413137 #413B31
monochromatic
#0D1111 #171D1E #313F41 #4B6164 #668387

Accessibility & contrast

On white

10.95
#313F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#313F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F41
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F41#FFFFFF#000000##FFFFFF
##313F411.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#3A3C41
Tritanopia (blue-blind)
#2C4040
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #313f41;
/* rgb */ color: rgb(49, 63, 65);
/* oklch */ color: oklch(35.6% 0.019 207.0);
Tailwind
colors: {
  custom: {
    50: '#697475',
    500: '#313f41',
    950: '#000000',
  },
}
SCSS
$custom: #313f41;
$custom-light: #697475;
$custom-dark: #000000;
JSON
{
  "hex": "#313f41",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 65
  },
  "hsl": {
    "h": 187.5,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35608,
    "c": 0.01854,
    "h": 207
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#313F41
secondary
#715F5D
accent
#7A71B7
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313F41

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

Preview Lab → · Contrast checker → · Palette generator →

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