#313E41#313E41

#313E41 is a dark, near-neutral cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.018 H 213.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#313E41
RGBrgb(49, 62, 65)
HSLhsl(191, 14%, 22%)
HSVhsv(191, 25%, 25%)
CMYKcmyk(24.6%, 4.6%, 0%, 74.5%)
CIE-LABlab(25.20, -4.49, -3.60)
CIE-LCHlch(25.20, 5.75, 218.72°)
OKLaboklab(35.34% -0.0149 -0.0098)
OKLCHoklch(35.34% 0.018 213.3)
XYZxyz(3.9431, 4.4797, 5.6569)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E41 #413431
analogous
#31413C #313E41 #313641
triadic
#313E41 #41313E #3E4131
tetradic
#313E41 #3C3141 #413431 #364131
square
#313E41 #3C3141 #413431 #364131
split-complementary
#313E41 #413136 #413C31
monochromatic
#0D1111 #171D1E #313E41 #4B5F64 #668187

Accessibility & contrast

On white

11.08
#313E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#313E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E41
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E41#FFFFFF#000000##FFFFFF
##313E411.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#393B41
Tritanopia (blue-blind)
#2C3F3F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #313e41;
/* rgb */ color: rgb(49, 62, 65);
/* oklch */ color: oklch(35.3% 0.018 213.3);
Tailwind
colors: {
  custom: {
    50: '#697375',
    500: '#313e41',
    950: '#000000',
  },
}
SCSS
$custom: #313e41;
$custom-light: #697375;
$custom-dark: #000000;
JSON
{
  "hex": "#313e41",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 65
  },
  "hsl": {
    "h": 191.25,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35343,
    "c": 0.0178,
    "h": 213.3
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#313E41
secondary
#71615D
accent
#7E71B7
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #313E41

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

Preview Lab → · Contrast checker → · Palette generator →

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