#031F19#031F19

#031F19 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.6% C 0.036 H 176.2°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#031F19
RGBrgb(3, 31, 25)
HSLhsl(167, 82%, 7%)
HSVhsv(167, 90%, 12%)
CMYKcmyk(90.3%, 0%, 19.4%, 87.8%)
CIE-LABlab(9.56, -12.40, 0.97)
CIE-LCHlch(9.56, 12.44, 175.51°)
OKLaboklab(21.57% -0.0363 0.0024)
OKLCHoklch(21.57% 0.036 176.2)
XYZxyz(0.7029, 1.0694, 1.0889)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F19 #1F0309
analogous
#031F0B #031F19 #03171F
triadic
#031F19 #19031F #1F1903
tetradic
#031F19 #0B031F #1F0309 #171F03
square
#031F19 #0B031F #1F0309 #171F03
split-complementary
#031F19 #1F0317 #1F0B03
monochromatic
#031C17 #031C17 #031F19 #085746 #0E8F73

Accessibility & contrast

On white

17.30
#031F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F19
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F19#FFFFFF#000000##FFFFFF
##031F191.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C19
Deuteranopia (green-blind)
#191919
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f19;
/* rgb */ color: rgb(3, 31, 25);
/* oklch */ color: oklch(21.6% 0.036 176.2);
Tailwind
colors: {
  custom: {
    50: '#475a55',
    500: '#031f19',
    950: '#000000',
  },
}
SCSS
$custom: #031f19;
$custom-light: #475a55;
$custom-dark: #000000;
JSON
{
  "hex": "#031f19",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 167.143,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21574,
    "c": 0.03641,
    "h": 176.2
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#031F19
secondary
#631B2A
accent
#2F5AF9
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000403
muted
#777978

Preview Lab

Preview with #031F19

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

Preview Lab → · Contrast checker → · Palette generator →

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