#031F1A#031F1A

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

Color values

HEX#031F1A
RGBrgb(3, 31, 26)
HSLhsl(169, 82%, 7%)
HSVhsv(169, 90%, 12%)
CMYKcmyk(90.3%, 0%, 16.1%, 87.8%)
CIE-LABlab(9.59, -12.10, 0.28)
CIE-LCHlch(9.59, 12.10, 178.65°)
OKLaboklab(21.61% -0.0357 0.0006)
OKLCHoklch(21.61% 0.036 179.1)
XYZxyz(0.7139, 1.0738, 1.1467)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1A #1F0308
analogous
#031F0C #031F1A #03161F
triadic
#031F1A #1A031F #1F1A03
tetradic
#031F1A #0C031F #1F0308 #161F03
square
#031F1A #0C031F #1F0308 #161F03
split-complementary
#031F1A #1F0316 #1F0C03
monochromatic
#031C17 #031C17 #031F1A #085749 #0E8F78

Accessibility & contrast

On white

17.29
#031F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F1A
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1A#FFFFFF#000000##FFFFFF
##031F1A1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C1A
Deuteranopia (green-blind)
#19191A
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f1a;
/* rgb */ color: rgb(3, 31, 26);
/* oklch */ color: oklch(21.6% 0.036 179.1);
Tailwind
colors: {
  custom: {
    50: '#475a56',
    500: '#031f1a',
    950: '#000000',
  },
}
SCSS
$custom: #031f1a;
$custom-light: #475a56;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1a",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 169.286,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21614,
    "c": 0.0357,
    "h": 179.1
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#031F1A
secondary
#631B28
accent
#2F53F9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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