#031F16#031F16

#031F16 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.5% C 0.039 H 168.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#031F16
RGBrgb(3, 31, 22)
HSLhsl(161, 82%, 7%)
HSVhsv(161, 90%, 12%)
CMYKcmyk(90.3%, 0%, 29%, 87.8%)
CIE-LABlab(9.46, -13.23, 3.04)
CIE-LCHlch(9.46, 13.58, 167.05°)
OKLaboklab(21.46% -0.0382 0.0078)
OKLCHoklch(21.46% 0.039 168.5)
XYZxyz(0.6723, 1.0572, 0.9275)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F16 #1F030C
analogous
#031F08 #031F16 #031A1F
triadic
#031F16 #16031F #1F1603
tetradic
#031F16 #08031F #1F030C #1A1F03
square
#031F16 #08031F #1F030C #1A1F03
split-complementary
#031F16 #1F031A #1F0803
monochromatic
#031C14 #031C14 #031F16 #08573E #0E8F65

Accessibility & contrast

On white

17.34
#031F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#031F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F16
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F16#FFFFFF#000000##FFFFFF
##031F161.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C16
Deuteranopia (green-blind)
#1A1917
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031f16;
/* rgb */ color: rgb(3, 31, 22);
/* oklch */ color: oklch(21.5% 0.039 168.5);
Tailwind
colors: {
  custom: {
    50: '#475a52',
    500: '#031f16',
    950: '#000000',
  },
}
SCSS
$custom: #031f16;
$custom-light: #475a52;
$custom-dark: #000000;
JSON
{
  "hex": "#031f16",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 160.714,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21461,
    "c": 0.03903,
    "h": 168.5
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#031F16
secondary
#631B32
accent
#2F70F9
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #031F16

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

Preview Lab → · Contrast checker → · Palette generator →

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