#31383F#31383F

#31383F is a dark, near-neutral cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.016 H 248.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#31383F
RGBrgb(49, 56, 63)
HSLhsl(210, 13%, 22%)
HSVhsv(210, 22%, 25%)
CMYKcmyk(22.2%, 11.1%, 0%, 75.3%)
CIE-LABlab(23.14, -1.12, -5.34)
CIE-LCHlch(23.14, 5.46, 258.17°)
OKLaboklab(33.69% -0.0058 -0.0145)
OKLCHoklch(33.69% 0.016 248.3)
XYZxyz(3.5778, 3.8401, 5.2544)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31383F #3F3831
analogous
#313F3F #31383F #31313F
triadic
#31383F #3F3138 #383F31
tetradic
#31383F #3F313F #3F3831 #313F31
square
#31383F #3F313F #3F3831 #313F31
split-complementary
#31383F #3F3131 #3F3F31
monochromatic
#0D0F11 #16191D #31383F #4C5761 #677584

Accessibility & contrast

On white

11.88
#31383F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#31383F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31383F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31383F#FFFFFF#000000##FFFFFF
##31383F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35383F
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#2D3A3A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #31383f;
/* rgb */ color: rgb(49, 56, 63);
/* oklch */ color: oklch(33.7% 0.016 248.3);
Tailwind
colors: {
  custom: {
    50: '#696e74',
    500: '#31383f',
    950: '#000000',
  },
}
SCSS
$custom: #31383f;
$custom-light: #696e74;
$custom-dark: #000000;
JSON
{
  "hex": "#31383f",
  "rgb": {
    "r": 49,
    "g": 56,
    "b": 63
  },
  "hsl": {
    "h": 210,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.01559,
    "h": 248.3
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#31383F
secondary
#6F665D
accent
#9472B5
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060708
muted
#7A7A7B

Preview Lab

Preview with #31383F

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

Preview Lab → · Contrast checker → · Palette generator →

#31383F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva