#031B12#031B12

#031B12 is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.9% C 0.036 H 166.0°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#031B12
RGBrgb(3, 27, 18)
HSLhsl(158, 80%, 6%)
HSVhsv(158, 89%, 11%)
CMYKcmyk(88.9%, 0%, 33.3%, 89.4%)
CIE-LABlab(7.65, -10.91, 3.07)
CIE-LCHlch(7.65, 11.33, 164.27°)
OKLaboklab(19.93% -0.0353 0.0088)
OKLCHoklch(19.93% 0.036 166)
XYZxyz(0.5386, 0.8468, 0.7072)
Luminance0.0085 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B12 #1B030C
analogous
#031B06 #031B12 #03181B
triadic
#031B12 #12031B #1B1203
tetradic
#031B12 #06031B #1B030C #181B03
square
#031B12 #06031B #1B030C #181B03
split-complementary
#031B12 #1B0318 #1B0603
monochromatic
#031C12 #031C12 #031C12 #095237 #0F895B

Accessibility & contrast

On white

17.96
#031B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031B12
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B12#FFFFFF#000000##FFFFFF
##031B121.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1812
Deuteranopia (green-blind)
#171613
Tritanopia (blue-blind)
#001B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031b12;
/* rgb */ color: rgb(3, 27, 18);
/* oklch */ color: oklch(19.9% 0.036 166.0);
Tailwind
colors: {
  custom: {
    50: '#475750',
    500: '#031b12',
    950: '#000000',
  },
}
SCSS
$custom: #031b12;
$custom-light: #475750;
$custom-dark: #000000;
JSON
{
  "hex": "#031b12",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 18
  },
  "hsl": {
    "h": 157.5,
    "s": 80,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19933,
    "c": 0.03639,
    "h": 166
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#031B12
secondary
#5F1B34
accent
#317BF6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031B12

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

Preview Lab → · Contrast checker → · Palette generator →

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