#031F1D#031F1D

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

Color values

HEX#031F1D
RGBrgb(3, 31, 29)
HSLhsl(176, 82%, 7%)
HSVhsv(176, 90%, 12%)
CMYKcmyk(90.3%, 0%, 6.5%, 87.8%)
CIE-LABlab(9.70, -11.14, -1.77)
CIE-LCHlch(9.70, 11.28, 189.05°)
OKLaboklab(21.74% -0.0338 -0.005)
OKLCHoklch(21.74% 0.034 188.4)
XYZxyz(0.7492, 1.0880, 1.3327)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1D #1F0305
analogous
#031F0F #031F1D #03131F
triadic
#031F1D #1D031F #1F1D03
tetradic
#031F1D #0F031F #1F0305 #131F03
square
#031F1D #0F031F #1F0305 #131F03
split-complementary
#031F1D #1F0313 #1F0F03
monochromatic
#031C1A #031C1A #031F1D #085751 #0E8F85

Accessibility & contrast

On white

17.25
#031F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F1D
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1D#FFFFFF#000000##FFFFFF
##031F1D1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1D
Deuteranopia (green-blind)
#181A1D
Tritanopia (blue-blind)
#00201E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f1d;
/* rgb */ color: rgb(3, 31, 29);
/* oklch */ color: oklch(21.7% 0.034 188.4);
Tailwind
colors: {
  custom: {
    50: '#475a58',
    500: '#031f1d',
    950: '#000000',
  },
}
SCSS
$custom: #031f1d;
$custom-light: #475a58;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1d",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 175.714,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21742,
    "c": 0.03422,
    "h": 188.4
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#031F1D
secondary
#631B20
accent
#2F3EF9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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