#313D41#313D41

#313D41 is a dark, near-neutral cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.017 H 220.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#313D41
RGBrgb(49, 61, 65)
HSLhsl(195, 14%, 22%)
HSVhsv(195, 25%, 25%)
CMYKcmyk(24.6%, 6.2%, 0%, 74.5%)
CIE-LABlab(24.86, -3.85, -4.09)
CIE-LCHlch(24.86, 5.62, 226.78°)
OKLaboklab(35.08% -0.0132 -0.0111)
OKLCHoklch(35.08% 0.017 220)
XYZxyz(3.8892, 4.3720, 5.6390)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D41 #413531
analogous
#31413D #313D41 #313541
triadic
#313D41 #41313D #3D4131
tetradic
#313D41 #3D3141 #413531 #354131
square
#313D41 #3D3141 #413531 #354131
split-complementary
#313D41 #413135 #413D31
monochromatic
#0D1011 #171C1E #313D41 #4B5E64 #667E87

Accessibility & contrast

On white

11.20
#313D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D41
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D41#FFFFFF#000000##FFFFFF
##313D411.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#383A41
Tritanopia (blue-blind)
#2C3E3E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313d41;
/* rgb */ color: rgb(49, 61, 65);
/* oklch */ color: oklch(35.1% 0.017 220.0);
Tailwind
colors: {
  custom: {
    50: '#697275',
    500: '#313d41',
    950: '#000000',
  },
}
SCSS
$custom: #313d41;
$custom-light: #697275;
$custom-dark: #000000;
JSON
{
  "hex": "#313d41",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 65
  },
  "hsl": {
    "h": 195,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.01728,
    "h": 220
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#313D41
secondary
#71625D
accent
#8271B7
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313D41

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

Preview Lab → · Contrast checker → · Palette generator →

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