#313B4E#313B4E

#313B4E is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.2% C 0.036 H 263.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#313B4E
RGBrgb(49, 59, 78)
HSLhsl(219, 23%, 25%)
HSVhsv(219, 37%, 31%)
CMYKcmyk(37.2%, 24.4%, 0%, 69.4%)
CIE-LABlab(24.74, 1.26, -12.90)
CIE-LCHlch(24.74, 12.96, 275.56°)
OKLaboklab(35.15% -0.0044 -0.0357)
OKLCHoklch(35.15% 0.036 263)
XYZxyz(4.2053, 4.3308, 7.8206)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B4E #4E4431
analogous
#314A4E #313B4E #35314E
triadic
#313B4E #4E313B #3B4E31
tetradic
#313B4E #4E314A #4E4431 #314E35
square
#313B4E #4E314A #4E4431 #314E35
split-complementary
#313B4E #4E3531 #4A4E31
monochromatic
#0C0E13 #191F28 #313B4E #495774 #607499

Accessibility & contrast

On white

11.25
#313B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#313B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B4E
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B4E#FFFFFF#000000##FFFFFF
##313B4E1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#323A4E
Tritanopia (blue-blind)
#283F41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313b4e;
/* rgb */ color: rgb(49, 59, 78);
/* oklch */ color: oklch(35.2% 0.036 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a707f',
    500: '#313b4e',
    950: '#000000',
  },
}
SCSS
$custom: #313b4e;
$custom-light: #6a707f;
$custom-dark: #000000;
JSON
{
  "hex": "#313b4e",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 78
  },
  "hsl": {
    "h": 219.31,
    "s": 22.835,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35153,
    "c": 0.03593,
    "h": 263
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#313B4E
secondary
#7F735C
accent
#A168BF
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #313B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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