#313B41#313B41

#313B41 is a dark, near-neutral cyan. Relative luminance 0.042; OKLCH L 34.6% C 0.017 H 234.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#313B41
RGBrgb(49, 59, 65)
HSLhsl(203, 14%, 22%)
HSVhsv(203, 25%, 25%)
CMYKcmyk(24.6%, 9.2%, 0%, 74.5%)
CIE-LABlab(24.20, -2.54, -5.08)
CIE-LCHlch(24.20, 5.68, 243.41°)
OKLaboklab(34.56% -0.0099 -0.0138)
OKLCHoklch(34.56% 0.017 234.3)
XYZxyz(3.7845, 4.1624, 5.6040)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B41 #413731
analogous
#31413F #313B41 #313341
triadic
#313B41 #41313B #3B4131
tetradic
#313B41 #3F3141 #413731 #334131
square
#313B41 #3F3141 #413731 #334131
split-complementary
#313B41 #413133 #413F31
monochromatic
#0D1011 #171B1E #313B41 #4B5B64 #667A87

Accessibility & contrast

On white

11.46
#313B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B41
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B41#FFFFFF#000000##FFFFFF
##313B411.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B41
Deuteranopia (green-blind)
#363941
Tritanopia (blue-blind)
#2D3D3D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313b41;
/* rgb */ color: rgb(49, 59, 65);
/* oklch */ color: oklch(34.6% 0.017 234.3);
Tailwind
colors: {
  custom: {
    50: '#697075',
    500: '#313b41',
    950: '#000000',
  },
}
SCSS
$custom: #313b41;
$custom-light: #697075;
$custom-dark: #000000;
JSON
{
  "hex": "#313b41",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 65
  },
  "hsl": {
    "h": 202.5,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34555,
    "c": 0.01699,
    "h": 234.3
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#313B41
secondary
#71645D
accent
#8B71B7
background
#F6F6F7
surface
#EBECED
border
#C6C7C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #313B41

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

Preview Lab → · Contrast checker → · Palette generator →

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