#031D1B#031D1B

#031D1B is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.0% C 0.033 H 188.0°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#031D1B
RGBrgb(3, 29, 27)
HSLhsl(175, 81%, 6%)
HSVhsv(175, 90%, 11%)
CMYKcmyk(89.7%, 0%, 6.9%, 88.6%)
CIE-LABlab(8.80, -10.29, -1.62)
CIE-LCHlch(8.80, 10.42, 188.96°)
OKLaboklab(20.98% -0.0324 -0.0046)
OKLCHoklch(20.98% 0.033 188)
XYZxyz(0.6747, 0.9771, 1.1897)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031D1B #1D0305
analogous
#031D0E #031D1B #03121D
triadic
#031D1B #1B031D #1D1B03
tetradic
#031D1B #0E031D #1D0305 #121D03
square
#031D1B #0E031D #1D0305 #121D03
split-complementary
#031D1B #1D0312 #1D0E03
monochromatic
#031C1A #031C1A #031D1B #09544F #0E8C82

Accessibility & contrast

On white

17.57
#031D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031D1B
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031D1B#FFFFFF#000000##FFFFFF
##031D1B1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1B
Deuteranopia (green-blind)
#17181B
Tritanopia (blue-blind)
#001E1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031d1b;
/* rgb */ color: rgb(3, 29, 27);
/* oklch */ color: oklch(21.0% 0.033 188.0);
Tailwind
colors: {
  custom: {
    50: '#475957',
    500: '#031d1b',
    950: '#000000',
  },
}
SCSS
$custom: #031d1b;
$custom-light: #475957;
$custom-dark: #000000;
JSON
{
  "hex": "#031d1b",
  "rgb": {
    "r": 3,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 175.385,
    "s": 81.25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.2098,
    "c": 0.03268,
    "h": 188
  },
  "luminance": 0.00977
}

Semantic roles & 50–950 ramp

primary
#031D1B
secondary
#611B20
accent
#3040F8
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #031D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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