#313645#313645

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

Color values

HEX#313645
RGBrgb(49, 54, 69)
HSLhsl(225, 17%, 23%)
HSVhsv(225, 29%, 27%)
CMYKcmyk(29%, 21.7%, 0%, 72.9%)
CIE-LABlab(22.73, 1.91, -9.99)
CIE-LCHlch(22.73, 10.17, 280.85°)
OKLaboklab(33.45% 0.0002 -0.0274)
OKLCHoklch(33.45% 0.027 270.5)
XYZxyz(3.6597, 3.7209, 6.1545)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313645 #454031
analogous
#314045 #313645 #363145
triadic
#313645 #453136 #364531
tetradic
#313645 #453140 #454031 #314536
square
#313645 #453140 #454031 #314536
split-complementary
#313645 #453631 #404531
monochromatic
#0D0E12 #181A21 #313645 #4A5269 #646E8D

Accessibility & contrast

On white

12.04
#313645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313645
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313645#FFFFFF#000000##FFFFFF
##3136451.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313645;
/* rgb */ color: rgb(49, 54, 69);
/* oklch */ color: oklch(33.5% 0.027 270.5);
Tailwind
colors: {
  custom: {
    50: '#696c78',
    500: '#313645',
    950: '#000000',
  },
}
SCSS
$custom: #313645;
$custom-light: #696c78;
$custom-dark: #000000;
JSON
{
  "hex": "#313645",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 69
  },
  "hsl": {
    "h": 225,
    "s": 16.949,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3345,
    "c": 0.02739,
    "h": 270.5
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#313645
secondary
#756F5C
accent
#A76EBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060709
muted
#7A7A7B

Preview Lab

Preview with #313645

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

Preview Lab → · Contrast checker → · Palette generator →

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