#313541#313541

#313541 is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.0% C 0.022 H 270.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#313541
RGBrgb(49, 53, 65)
HSLhsl(225, 14%, 22%)
HSVhsv(225, 25%, 25%)
CMYKcmyk(24.6%, 18.5%, 0%, 74.5%)
CIE-LABlab(22.23, 1.44, -8.04)
CIE-LCHlch(22.23, 8.17, 280.18°)
OKLaboklab(33.01% 0.0003 -0.0219)
OKLCHoklch(33.01% 0.022 270.7)
XYZxyz(3.4936, 3.5807, 5.5071)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313541 #413D31
analogous
#313D41 #313541 #353141
triadic
#313541 #413135 #354131
tetradic
#313541 #41313D #413D31 #314135
square
#313541 #41313D #413D31 #314135
split-complementary
#313541 #413531 #3D4131
monochromatic
#0D0E11 #17191E #313541 #4B5164 #666E87

Accessibility & contrast

On white

12.24
#313541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#313541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313541
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313541#FFFFFF#000000##FFFFFF
##3135411.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323642
Deuteranopia (green-blind)
#303541
Tritanopia (blue-blind)
#2D3739
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313541;
/* rgb */ color: rgb(49, 53, 65);
/* oklch */ color: oklch(33.0% 0.022 270.7);
Tailwind
colors: {
  custom: {
    50: '#696c75',
    500: '#313541',
    950: '#000000',
  },
}
SCSS
$custom: #313541;
$custom-light: #696c75;
$custom-dark: #000000;
JSON
{
  "hex": "#313541",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 65
  },
  "hsl": {
    "h": 225,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.02195,
    "h": 270.7
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#313541
secondary
#716C5D
accent
#A571B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313541

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

Preview Lab → · Contrast checker → · Palette generator →

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