#313243#313243

#313243 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.030 H 281.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#313243
RGBrgb(49, 50, 67)
HSLhsl(237, 16%, 23%)
HSVhsv(237, 27%, 26%)
CMYKcmyk(26.9%, 25.4%, 0%, 73.7%)
CIE-LABlab(21.35, 4.06, -10.73)
CIE-LCHlch(21.35, 11.47, 290.71°)
OKLaboklab(32.35% 0.0062 -0.0295)
OKLCHoklch(32.35% 0.03 281.9)
XYZxyz(3.4201, 3.3394, 5.7735)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313243 #434231
analogous
#313B43 #313243 #393143
triadic
#313243 #433132 #324331
tetradic
#313243 #43313B #434231 #314339
square
#313243 #43313B #434231 #314339
split-complementary
#313243 #433931 #3B4331
monochromatic
#0D0D12 #171820 #313243 #4B4C66 #65678A

Accessibility & contrast

On white

12.59
#313243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#313243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313243
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313243#FFFFFF#000000##FFFFFF
##3132431.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3444
Deuteranopia (green-blind)
#2D3343
Tritanopia (blue-blind)
#2D3538
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #313243;
/* rgb */ color: rgb(49, 50, 67);
/* oklch */ color: oklch(32.4% 0.030 281.9);
Tailwind
colors: {
  custom: {
    50: '#696977',
    500: '#313243',
    950: '#000000',
  },
}
SCSS
$custom: #313243;
$custom-light: #696977;
$custom-dark: #000000;
JSON
{
  "hex": "#313243",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 67
  },
  "hsl": {
    "h": 236.667,
    "s": 15.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.03012,
    "h": 281.9
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#313243
secondary
#73725D
accent
#B470B8
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #313243

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

Preview Lab → · Contrast checker → · Palette generator →

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