#031F1F#031F1F

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

Color values

HEX#031F1F
RGBrgb(3, 31, 31)
HSLhsl(180, 82%, 7%)
HSVhsv(180, 90%, 12%)
CMYKcmyk(90.3%, 0%, 0%, 87.8%)
CIE-LABlab(9.78, -10.44, -3.14)
CIE-LCHlch(9.78, 10.90, 196.73°)
OKLaboklab(21.83% -0.0326 -0.0087)
OKLCHoklch(21.83% 0.034 195)
XYZxyz(0.7747, 1.0982, 1.4672)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1F #1F0303
analogous
#031F11 #031F1F #03111F
triadic
#031F1F #1F031F #1F1F03
tetradic
#031F1F #11031F #1F0303 #111F03
square
#031F1F #11031F #1F0303 #111F03
split-complementary
#031F1F #1F0311 #1F1103
monochromatic
#031C1C #031C1C #031F1F #085757 #0E8F8F

Accessibility & contrast

On white

17.22
#031F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F1F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1F#FFFFFF#000000##FFFFFF
##031F1F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031f1f;
/* rgb */ color: rgb(3, 31, 31);
/* oklch */ color: oklch(21.8% 0.034 195.0);
Tailwind
colors: {
  custom: {
    50: '#475a5a',
    500: '#031f1f',
    950: '#000000',
  },
}
SCSS
$custom: #031f1f;
$custom-light: #475a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1f",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 31
  },
  "hsl": {
    "h": 180,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21834,
    "c": 0.0338,
    "h": 195
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#031F1F
secondary
#631B1B
accent
#2F2FF9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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