#031D1F#031D1F

#031D1F is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.2% C 0.032 H 202.0°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#031D1F
RGBrgb(3, 29, 31)
HSLhsl(184, 82%, 7%)
HSVhsv(184, 90%, 12%)
CMYKcmyk(90.3%, 6.5%, 0%, 87.8%)
CIE-LABlab(8.97, -8.98, -4.37)
CIE-LCHlch(8.97, 9.99, 205.92°)
OKLaboklab(21.17% -0.03 -0.0121)
OKLCHoklch(21.17% 0.032 202)
XYZxyz(0.7241, 0.9969, 1.4503)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D1F #1F0503
analogous
#031F13 #031D1F #030F1F
triadic
#031D1F #1F031D #1D1F03
tetradic
#031D1F #13031F #1F0503 #0F1F03
square
#031D1F #13031F #1F0503 #0F1F03
split-complementary
#031D1F #1F030F #1F1303
monochromatic
#031A1C #031A1C #031D1F #085157 #0E858F

Accessibility & contrast

On white

17.51
#031D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031D1F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D1F#FFFFFF#000000##FFFFFF
##031D1F1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1F
Deuteranopia (green-blind)
#16181F
Tritanopia (blue-blind)
#001F1E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031d1f;
/* rgb */ color: rgb(3, 29, 31);
/* oklch */ color: oklch(21.2% 0.032 202.0);
Tailwind
colors: {
  custom: {
    50: '#47595a',
    500: '#031d1f',
    950: '#000000',
  },
}
SCSS
$custom: #031d1f;
$custom-light: #47595a;
$custom-dark: #000000;
JSON
{
  "hex": "#031d1f",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 184.286,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21171,
    "c": 0.03233,
    "h": 202
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#031D1F
secondary
#63201B
accent
#3E2FF9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #031D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#031D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva