#313448#313448

#313448 is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.1% C 0.036 H 277.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#313448
RGBrgb(49, 52, 72)
HSLhsl(232, 19%, 24%)
HSVhsv(232, 32%, 28%)
CMYKcmyk(31.9%, 27.8%, 0%, 71.8%)
CIE-LABlab(22.22, 4.17, -12.78)
CIE-LCHlch(22.22, 13.44, 288.06°)
OKLaboklab(33.1% 0.0047 -0.0353)
OKLCHoklch(33.1% 0.036 277.7)
XYZxyz(3.6640, 3.5767, 6.6270)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313448 #484531
analogous
#313F48 #313448 #393148
triadic
#313448 #483134 #344831
tetradic
#313448 #48313F #484531 #314839
square
#313448 #48313F #484531 #314839
split-complementary
#313448 #483931 #3F4831
monochromatic
#0C0D12 #181A24 #313448 #4A4E6C #636991

Accessibility & contrast

On white

12.24
#313448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#313448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313448
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313448#FFFFFF#000000##FFFFFF
##3134481.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#2D3447
Tritanopia (blue-blind)
#2B383B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313448;
/* rgb */ color: rgb(49, 52, 72);
/* oklch */ color: oklch(33.1% 0.036 277.7);
Tailwind
colors: {
  custom: {
    50: '#696b7b',
    500: '#313448',
    950: '#000000',
  },
}
SCSS
$custom: #313448;
$custom-light: #696b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#313448",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 72
  },
  "hsl": {
    "h": 232.174,
    "s": 19.008,
    "l": 23.725
  },
  "oklch": {
    "l": 0.331,
    "c": 0.03559,
    "h": 277.7
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#313448
secondary
#79755C
accent
#B16CBC
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #313448

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

Preview Lab → · Contrast checker → · Palette generator →

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