#313647#313647

#313647 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.5% C 0.031 H 271.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#313647
RGBrgb(49, 54, 71)
HSLhsl(226, 18%, 24%)
HSVhsv(226, 31%, 28%)
CMYKcmyk(31%, 23.9%, 0%, 72.2%)
CIE-LABlab(22.81, 2.50, -11.19)
CIE-LCHlch(22.81, 11.47, 282.61°)
OKLaboklab(33.55% 0.001 -0.0308)
OKLCHoklch(33.55% 0.031 271.9)
XYZxyz(3.7228, 3.7461, 6.4869)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313647 #474231
analogous
#314147 #313647 #373147
triadic
#313647 #473136 #364731
tetradic
#313647 #473141 #474231 #314737
square
#313647 #473141 #474231 #314737
split-complementary
#313647 #473731 #414731
monochromatic
#0C0E12 #181A23 #313647 #4A526B #636D8F

Accessibility & contrast

On white

12.01
#313647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#313647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313647
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313647#FFFFFF#000000##FFFFFF
##3136471.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313748
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#2B393C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313647;
/* rgb */ color: rgb(49, 54, 71);
/* oklch */ color: oklch(33.5% 0.031 271.9);
Tailwind
colors: {
  custom: {
    50: '#696c7a',
    500: '#313647',
    950: '#000000',
  },
}
SCSS
$custom: #313647;
$custom-light: #696c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#313647",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 71
  },
  "hsl": {
    "h": 226.364,
    "s": 18.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33547,
    "c": 0.03082,
    "h": 271.9
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#313647
secondary
#77715C
accent
#A96DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060709
muted
#7A7A7B

Preview Lab

Preview with #313647

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

Preview Lab → · Contrast checker → · Palette generator →

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