#313441#313441

#313441 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.023 H 274.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#313441
RGBrgb(49, 52, 65)
HSLhsl(229, 14%, 22%)
HSVhsv(229, 25%, 25%)
CMYKcmyk(24.6%, 20%, 0%, 74.5%)
CIE-LABlab(21.91, 2.12, -8.53)
CIE-LCHlch(21.91, 8.79, 283.96°)
OKLaboklab(32.76% 0.002 -0.0233)
OKLCHoklch(32.76% 0.023 274.9)
XYZxyz(3.4485, 3.4905, 5.4921)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313441 #413E31
analogous
#313C41 #313441 #363141
triadic
#313441 #413134 #344131
tetradic
#313441 #41313C #413E31 #314136
square
#313441 #41313C #413E31 #314136
split-complementary
#313441 #413631 #3C4131
monochromatic
#0D0E11 #17181E #313441 #4B5064 #666C87

Accessibility & contrast

On white

12.37
#313441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#313441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313441
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313441#FFFFFF#000000##FFFFFF
##3134411.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303542
Deuteranopia (green-blind)
#2F3441
Tritanopia (blue-blind)
#2D3638
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313441;
/* rgb */ color: rgb(49, 52, 65);
/* oklch */ color: oklch(32.8% 0.023 274.9);
Tailwind
colors: {
  custom: {
    50: '#696b75',
    500: '#313441',
    950: '#000000',
  },
}
SCSS
$custom: #313441;
$custom-light: #696b75;
$custom-dark: #000000;
JSON
{
  "hex": "#313441",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 65
  },
  "hsl": {
    "h": 228.75,
    "s": 14.035,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.02339,
    "h": 274.9
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#313441
secondary
#716D5D
accent
#AA71B7
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313441

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

Preview Lab → · Contrast checker → · Palette generator →

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