#313554#313554

#313554 is a dark, muted blue. Relative luminance 0.038; OKLCH L 34.0% C 0.055 H 277.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#313554
RGBrgb(49, 53, 84)
HSLhsl(233, 26%, 26%)
HSVhsv(233, 42%, 33%)
CMYKcmyk(41.7%, 36.9%, 0%, 67.1%)
CIE-LABlab(23.13, 7.24, -19.36)
CIE-LCHlch(23.13, 20.67, 290.52°)
OKLaboklab(34% 0.0071 -0.0542)
OKLCHoklch(34% 0.055 277.5)
XYZxyz(4.1395, 3.8391, 8.9087)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313554 #545031
analogous
#314654 #313554 #3E3154
triadic
#313554 #543135 #355431
tetradic
#313554 #543146 #545031 #31543E
square
#313554 #543146 #545031 #31543E
split-complementary
#313554 #543E31 #465431
monochromatic
#0B0C13 #1A1D2D #313554 #484D7B #5E66A1

Accessibility & contrast

On white

11.88
#313554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313554
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313554#FFFFFF#000000##FFFFFF
##3135541.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#293653
Tritanopia (blue-blind)
#273B40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313554;
/* rgb */ color: rgb(49, 53, 84);
/* oklch */ color: oklch(34.0% 0.055 277.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c84',
    500: '#313554',
    950: '#000000',
  },
}
SCSS
$custom: #313554;
$custom-light: #6b6c84;
$custom-dark: #000000;
JSON
{
  "hex": "#313554",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 84
  },
  "hsl": {
    "h": 233.143,
    "s": 26.316,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.05462,
    "h": 277.5
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#313554
secondary
#85805C
accent
#B865C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #313554

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

Preview Lab → · Contrast checker → · Palette generator →

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