#313644#313644

#313644 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.4% C 0.026 H 269.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#313644
RGBrgb(49, 54, 68)
HSLhsl(224, 16%, 23%)
HSVhsv(224, 28%, 27%)
CMYKcmyk(27.9%, 20.6%, 0%, 73.3%)
CIE-LABlab(22.68, 1.62, -9.38)
CIE-LCHlch(22.68, 9.52, 279.82°)
OKLaboklab(33.4% -0.0002 -0.0257)
OKLCHoklch(33.4% 0.026 269.6)
XYZxyz(3.6289, 3.7086, 5.9923)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313644 #443F31
analogous
#313F44 #313644 #353144
triadic
#313644 #443136 #364431
tetradic
#313644 #44313F #443F31 #314435
square
#313644 #44313F #443F31 #314435
split-complementary
#313644 #443531 #3F4431
monochromatic
#0D0E12 #171A20 #313644 #4B5268 #646E8B

Accessibility & contrast

On white

12.06
#313644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#313644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313644
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313644#FFFFFF#000000##FFFFFF
##3136441.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323745
Deuteranopia (green-blind)
#303544
Tritanopia (blue-blind)
#2C393B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313644;
/* rgb */ color: rgb(49, 54, 68);
/* oklch */ color: oklch(33.4% 0.026 269.6);
Tailwind
colors: {
  custom: {
    50: '#696c78',
    500: '#313644',
    950: '#000000',
  },
}
SCSS
$custom: #313644;
$custom-light: #696c78;
$custom-dark: #000000;
JSON
{
  "hex": "#313644",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 68
  },
  "hsl": {
    "h": 224.211,
    "s": 16.239,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33403,
    "c": 0.02569,
    "h": 269.6
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#313644
secondary
#746E5D
accent
#A56FB9
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #313644

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

Preview Lab → · Contrast checker → · Palette generator →

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