#313446#313446

#313446 is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.0% C 0.032 H 277.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#313446
RGBrgb(49, 52, 70)
HSLhsl(231, 18%, 23%)
HSVhsv(231, 30%, 27%)
CMYKcmyk(30%, 25.7%, 0%, 72.5%)
CIE-LABlab(22.13, 3.57, -11.57)
CIE-LCHlch(22.13, 12.11, 287.13°)
OKLaboklab(33% 0.004 -0.0319)
OKLCHoklch(33% 0.032 277.1)
XYZxyz(3.5998, 3.5511, 6.2889)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313446 #464331
analogous
#313E46 #313446 #383146
triadic
#313446 #463134 #344631
tetradic
#313446 #46313E #464331 #314638
square
#313446 #46313E #464331 #314638
split-complementary
#313446 #463831 #3E4631
monochromatic
#0D0D12 #181922 #313446 #4A4F6A #63698E

Accessibility & contrast

On white

12.28
#313446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#313446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313446
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313446#FFFFFF#000000##FFFFFF
##3134461.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#2E3446
Tritanopia (blue-blind)
#2C373A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313446;
/* rgb */ color: rgb(49, 52, 70);
/* oklch */ color: oklch(33.0% 0.032 277.1);
Tailwind
colors: {
  custom: {
    50: '#696b79',
    500: '#313446',
    950: '#000000',
  },
}
SCSS
$custom: #313446;
$custom-light: #696b79;
$custom-dark: #000000;
JSON
{
  "hex": "#313446",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 70
  },
  "hsl": {
    "h": 231.429,
    "s": 17.647,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.03211,
    "h": 277.1
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#313446
secondary
#76735C
accent
#AF6DBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #313446

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

Preview Lab → · Contrast checker → · Palette generator →

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