#031F1E#031F1E

#031F1E is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.8% C 0.034 H 191.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#031F1E
RGBrgb(3, 31, 30)
HSLhsl(178, 82%, 7%)
HSVhsv(178, 90%, 12%)
CMYKcmyk(90.3%, 0%, 3.2%, 87.8%)
CIE-LABlab(9.74, -10.79, -2.46)
CIE-LCHlch(9.74, 11.07, 192.83°)
OKLaboklab(21.79% -0.0332 -0.0069)
OKLCHoklch(21.79% 0.034 191.7)
XYZxyz(0.7618, 1.0930, 1.3989)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1E #1F0304
analogous
#031F10 #031F1E #03121F
triadic
#031F1E #1E031F #1F1E03
tetradic
#031F1E #10031F #1F0304 #121F03
square
#031F1E #10031F #1F0304 #121F03
split-complementary
#031F1E #1F0312 #1F1003
monochromatic
#031C1B #031C1B #031F1E #085754 #0E8F8A

Accessibility & contrast

On white

17.23
#031F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#031F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031F1E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1E#FFFFFF#000000##FFFFFF
##031F1E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1E
Deuteranopia (green-blind)
#181A1E
Tritanopia (blue-blind)
#00201F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f1e;
/* rgb */ color: rgb(3, 31, 30);
/* oklch */ color: oklch(21.8% 0.034 191.7);
Tailwind
colors: {
  custom: {
    50: '#475a59',
    500: '#031f1e',
    950: '#000000',
  },
}
SCSS
$custom: #031f1e;
$custom-light: #475a59;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1e",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 177.857,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21787,
    "c": 0.03395,
    "h": 191.7
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#031F1E
secondary
#631B1D
accent
#2F36F9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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