#313657#313657

#313657 is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.4% C 0.058 H 276.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#313657
RGBrgb(49, 54, 87)
HSLhsl(232, 28%, 27%)
HSVhsv(232, 44%, 34%)
CMYKcmyk(43.7%, 37.9%, 0%, 65.9%)
CIE-LABlab(23.60, 7.54, -20.60)
CIE-LCHlch(23.60, 21.94, 290.10°)
OKLaboklab(34.42% 0.0064 -0.0578)
OKLCHoklch(34.42% 0.058 276.3)
XYZxyz(4.3056, 3.9792, 9.5562)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313657 #575231
analogous
#314957 #313657 #3F3157
triadic
#313657 #573136 #365731
tetradic
#313657 #573149 #575231 #31573F
square
#313657 #573149 #575231 #31573F
split-complementary
#313657 #573F31 #495731
monochromatic
#0B0C14 #1B1E30 #313657 #474E7E #5E67A4

Accessibility & contrast

On white

11.69
#313657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313657
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313657#FFFFFF#000000##FFFFFF
##3136571.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#253D42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313657;
/* rgb */ color: rgb(49, 54, 87);
/* oklch */ color: oklch(34.4% 0.058 276.3);
Tailwind
colors: {
  custom: {
    50: '#6b6c86',
    500: '#313657',
    950: '#000000',
  },
}
SCSS
$custom: #313657;
$custom-light: #6b6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#313657",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 87
  },
  "hsl": {
    "h": 232.105,
    "s": 27.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.05811,
    "h": 276.3
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#313657
secondary
#88825C
accent
#B864C4
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07070B
muted
#7A7A7C

Preview Lab

Preview with #313657

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

Preview Lab → · Contrast checker → · Palette generator →

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