#313D4E#313D4E

#313D4E is a dark, muted blue. Relative luminance 0.045; OKLCH L 35.7% C 0.034 H 257.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#313D4E
RGBrgb(49, 61, 78)
HSLhsl(215, 23%, 25%)
HSVhsv(215, 37%, 31%)
CMYKcmyk(37.2%, 21.8%, 0%, 69.4%)
CIE-LABlab(25.38, -0.07, -11.91)
CIE-LCHlch(25.38, 11.91, 269.65°)
OKLaboklab(35.66% -0.0075 -0.0328)
OKLCHoklch(35.66% 0.034 257.1)
XYZxyz(4.3101, 4.5403, 7.8555)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D4E #4E4231
analogous
#314C4E #313D4E #33314E
triadic
#313D4E #4E313D #3D4E31
tetradic
#313D4E #4E314C #4E4231 #314E33
square
#313D4E #4E314C #4E4231 #314E33
split-complementary
#313D4E #4E3331 #4C4E31
monochromatic
#0C0F13 #192028 #313D4E #495A74 #607899

Accessibility & contrast

On white

11.01
#313D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#313D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D4E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D4E#FFFFFF#000000##FFFFFF
##313D4E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#343B4E
Tritanopia (blue-blind)
#284143
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #313d4e;
/* rgb */ color: rgb(49, 61, 78);
/* oklch */ color: oklch(35.7% 0.034 257.1);
Tailwind
colors: {
  custom: {
    50: '#6a727f',
    500: '#313d4e',
    950: '#000000',
  },
}
SCSS
$custom: #313d4e;
$custom-light: #6a727f;
$custom-dark: #000000;
JSON
{
  "hex": "#313d4e",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 78
  },
  "hsl": {
    "h": 215.172,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.0337,
    "h": 257.1
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#313D4E
secondary
#7F705C
accent
#9B68BF
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #313D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#313D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva