#313241#313241

#313241 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.3% C 0.027 H 281.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#313241
RGBrgb(49, 50, 65)
HSLhsl(236, 14%, 22%)
HSVhsv(236, 25%, 25%)
CMYKcmyk(24.6%, 23.1%, 0%, 74.5%)
CIE-LABlab(21.27, 3.48, -9.51)
CIE-LCHlch(21.27, 10.13, 290.12°)
OKLaboklab(32.26% 0.0054 -0.026)
OKLCHoklch(32.26% 0.027 281.8)
XYZxyz(3.3611, 3.3158, 5.4629)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313241 #414031
analogous
#313A41 #313241 #383141
triadic
#313241 #413132 #324131
tetradic
#313241 #41313A #414031 #314138
square
#313241 #41313A #414031 #314138
split-complementary
#313241 #413831 #3A4131
monochromatic
#0D0D11 #17171E #313241 #4B4D64 #666887

Accessibility & contrast

On white

12.63
#313241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#313241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313241
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313241#FFFFFF#000000##FFFFFF
##3132411.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3442
Deuteranopia (green-blind)
#2D3341
Tritanopia (blue-blind)
#2D3537
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313241;
/* rgb */ color: rgb(49, 50, 65);
/* oklch */ color: oklch(32.3% 0.027 281.8);
Tailwind
colors: {
  custom: {
    50: '#696975',
    500: '#313241',
    950: '#000000',
  },
}
SCSS
$custom: #313241;
$custom-light: #696975;
$custom-dark: #000000;
JSON
{
  "hex": "#313241",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 65
  },
  "hsl": {
    "h": 236.25,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32255,
    "c": 0.0266,
    "h": 281.8
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#313241
secondary
#71705D
accent
#B271B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313241

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

Preview Lab → · Contrast checker → · Palette generator →

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