#031B16#031B16

#031B16 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.1% C 0.033 H 177.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#031B16
RGBrgb(3, 27, 22)
HSLhsl(168, 80%, 6%)
HSVhsv(168, 89%, 11%)
CMYKcmyk(88.9%, 0%, 18.5%, 89.4%)
CIE-LABlab(7.78, -10.01, 0.61)
CIE-LCHlch(7.78, 10.02, 176.50°)
OKLaboklab(20.09% -0.0327 0.0015)
OKLCHoklch(20.09% 0.033 177.4)
XYZxyz(0.5742, 0.8611, 0.8948)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B16 #1B0308
analogous
#031B0A #031B16 #03141B
triadic
#031B16 #16031B #1B1603
tetradic
#031B16 #0A031B #1B0308 #141B03
square
#031B16 #0A031B #1B0308 #141B03
split-complementary
#031B16 #1B0314 #1B0A03
monochromatic
#031C16 #031C16 #031C16 #095243 #0F8970

Accessibility & contrast

On white

17.92
#031B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B16
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B16#FFFFFF#000000##FFFFFF
##031B161.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1916
Deuteranopia (green-blind)
#161616
Tritanopia (blue-blind)
#001C19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031b16;
/* rgb */ color: rgb(3, 27, 22);
/* oklch */ color: oklch(20.1% 0.033 177.4);
Tailwind
colors: {
  custom: {
    50: '#475752',
    500: '#031b16',
    950: '#000000',
  },
}
SCSS
$custom: #031b16;
$custom-light: #475752;
$custom-dark: #000000;
JSON
{
  "hex": "#031b16",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 167.5,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20085,
    "c": 0.03274,
    "h": 177.4
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#031B16
secondary
#5F1B29
accent
#315AF6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031B16

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

Preview Lab → · Contrast checker → · Palette generator →

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