#313246#313246

#313246 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.035 H 282.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#313246
RGBrgb(49, 50, 70)
HSLhsl(237, 18%, 23%)
HSVhsv(237, 30%, 27%)
CMYKcmyk(30%, 28.6%, 0%, 72.5%)
CIE-LABlab(21.49, 4.94, -12.55)
CIE-LCHlch(21.49, 13.49, 291.48°)
OKLaboklab(32.5% 0.0074 -0.0346)
OKLCHoklch(32.5% 0.035 282)
XYZxyz(3.5124, 3.3763, 6.2598)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313246 #464531
analogous
#313C46 #313246 #3A3146
triadic
#313246 #463132 #324631
tetradic
#313246 #46313C #464531 #31463A
square
#313246 #46313C #464531 #31463A
split-complementary
#313246 #463A31 #3C4631
monochromatic
#0D0D12 #181822 #313246 #4A4C6A #63658E

Accessibility & contrast

On white

12.54
#313246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#313246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313246
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313246#FFFFFF#000000##FFFFFF
##3132461.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#2C3639
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #313246;
/* rgb */ color: rgb(49, 50, 70);
/* oklch */ color: oklch(32.5% 0.035 282.0);
Tailwind
colors: {
  custom: {
    50: '#696979',
    500: '#313246',
    950: '#000000',
  },
}
SCSS
$custom: #313246;
$custom-light: #696979;
$custom-dark: #000000;
JSON
{
  "hex": "#313246",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 70
  },
  "hsl": {
    "h": 237.143,
    "s": 17.647,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32504,
    "c": 0.03539,
    "h": 282
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#313246
secondary
#76755C
accent
#B76DBA
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #313246

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

Preview Lab → · Contrast checker → · Palette generator →

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