#31343D#31343D

#31343D is a dark, near-neutral blue. Relative luminance 0.034; OKLCH L 32.6% C 0.016 H 270.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#31343D
RGBrgb(49, 52, 61)
HSLhsl(225, 11%, 22%)
HSVhsv(225, 20%, 24%)
CMYKcmyk(19.7%, 14.8%, 0%, 76.1%)
CIE-LABlab(21.75, 1.01, -6.07)
CIE-LCHlch(21.75, 6.16, 279.47°)
OKLaboklab(32.57% 0.0003 -0.0165)
OKLCHoklch(32.57% 0.016 270.9)
XYZxyz(3.3367, 3.4458, 4.9033)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31343D #3D3A31
analogous
#313A3D #31343D #34313D
triadic
#31343D #3D3134 #343D31
tetradic
#31343D #3D313A #3D3A31 #313D34
square
#31343D #3D313A #3D3A31 #313D34
split-complementary
#31343D #3D3431 #3A3D31
monochromatic
#0E0E11 #16171B #31343D #4C515F #686E81

Accessibility & contrast

On white

12.43
#31343D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#31343D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31343D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31343D#FFFFFF#000000##FFFFFF
##31343D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353D
Deuteranopia (green-blind)
#31343D
Tritanopia (blue-blind)
#2E3637
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #31343d;
/* rgb */ color: rgb(49, 52, 61);
/* oklch */ color: oklch(32.6% 0.016 270.9);
Tailwind
colors: {
  custom: {
    50: '#696b72',
    500: '#31343d',
    950: '#000000',
  },
}
SCSS
$custom: #31343d;
$custom-light: #696b72;
$custom-dark: #000000;
JSON
{
  "hex": "#31343d",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 61
  },
  "hsl": {
    "h": 225,
    "s": 10.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.01647,
    "h": 270.9
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#31343D
secondary
#6D695D
accent
#A474B4
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #31343D

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

Preview Lab → · Contrast checker → · Palette generator →

#31343D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva