#313C4E#313C4E

#313C4E is a dark, muted blue. Relative luminance 0.044; OKLCH L 35.4% C 0.035 H 260.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#313C4E
RGBrgb(49, 60, 78)
HSLhsl(217, 23%, 25%)
HSVhsv(217, 37%, 31%)
CMYKcmyk(37.2%, 23.1%, 0%, 69.4%)
CIE-LABlab(25.06, 0.59, -12.41)
CIE-LCHlch(25.06, 12.42, 272.72°)
OKLaboklab(35.41% -0.006 -0.0342)
OKLCHoklch(35.41% 0.035 260.1)
XYZxyz(4.2572, 4.4346, 7.8379)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C4E #4E4331
analogous
#314B4E #313C4E #34314E
triadic
#313C4E #4E313C #3C4E31
tetradic
#313C4E #4E314B #4E4331 #314E34
square
#313C4E #4E314B #4E4331 #314E34
split-complementary
#313C4E #4E3431 #4B4E31
monochromatic
#0C0E13 #191F28 #313C4E #495974 #607699

Accessibility & contrast

On white

11.13
#313C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#313C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C4E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C4E#FFFFFF#000000##FFFFFF
##313C4E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#333A4E
Tritanopia (blue-blind)
#284042
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313c4e;
/* rgb */ color: rgb(49, 60, 78);
/* oklch */ color: oklch(35.4% 0.035 260.1);
Tailwind
colors: {
  custom: {
    50: '#6a717f',
    500: '#313c4e',
    950: '#000000',
  },
}
SCSS
$custom: #313c4e;
$custom-light: #6a717f;
$custom-dark: #000000;
JSON
{
  "hex": "#313c4e",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 78
  },
  "hsl": {
    "h": 217.241,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.03476,
    "h": 260.1
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#313C4E
secondary
#7F725C
accent
#9E68BF
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #313C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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