#313641#313641

#313641 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.3% C 0.021 H 265.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#313641
RGBrgb(49, 54, 65)
HSLhsl(221, 14%, 22%)
HSVhsv(221, 25%, 25%)
CMYKcmyk(24.6%, 16.9%, 0%, 74.5%)
CIE-LABlab(22.56, 0.77, -7.55)
CIE-LCHlch(22.56, 7.59, 275.82°)
OKLaboklab(33.26% -0.0015 -0.0206)
OKLCHoklch(33.26% 0.021 265.9)
XYZxyz(3.5397, 3.6729, 5.5224)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313641 #413C31
analogous
#313E41 #313641 #343141
triadic
#313641 #413136 #364131
tetradic
#313641 #41313E #413C31 #314134
square
#313641 #41313E #413C31 #314134
split-complementary
#313641 #413431 #3E4131
monochromatic
#0D0E11 #17191E #313641 #4B5364 #667087

Accessibility & contrast

On white

12.11
#313641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#313641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313641
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313641#FFFFFF#000000##FFFFFF
##3136411.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333742
Deuteranopia (green-blind)
#313541
Tritanopia (blue-blind)
#2D383A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313641;
/* rgb */ color: rgb(49, 54, 65);
/* oklch */ color: oklch(33.3% 0.021 265.9);
Tailwind
colors: {
  custom: {
    50: '#696c75',
    500: '#313641',
    950: '#000000',
  },
}
SCSS
$custom: #313641;
$custom-light: #696c75;
$custom-dark: #000000;
JSON
{
  "hex": "#313641",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 65
  },
  "hsl": {
    "h": 221.25,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33264,
    "c": 0.02063,
    "h": 265.9
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#313641
secondary
#716B5D
accent
#A171B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #313641

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

Preview Lab → · Contrast checker → · Palette generator →

#313641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva