#031F22#031F22

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

Color values

HEX#031F22
RGBrgb(3, 31, 34)
HSLhsl(186, 84%, 7%)
HSVhsv(186, 91%, 13%)
CMYKcmyk(91.2%, 8.8%, 0%, 86.7%)
CIE-LABlab(9.91, -9.30, -5.16)
CIE-LCHlch(9.91, 10.63, 209.06°)
OKLaboklab(21.98% -0.0309 -0.0144)
OKLCHoklch(21.98% 0.034 204.9)
XYZxyz(0.8161, 1.1147, 1.6852)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F22 #220603
analogous
#032216 #031F22 #031022
triadic
#031F22 #22031F #1F2203
tetradic
#031F22 #160322 #220603 #102203
square
#031F22 #160322 #220603 #102203
split-complementary
#031F22 #220310 #221603
monochromatic
#021A1C #021A1C #031F22 #08525A #0D8692

Accessibility & contrast

On white

17.17
#031F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F22
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F22#FFFFFF#000000##FFFFFF
##031F221.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D22
Deuteranopia (green-blind)
#171A22
Tritanopia (blue-blind)
#002120
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f22;
/* rgb */ color: rgb(3, 31, 34);
/* oklch */ color: oklch(22.0% 0.034 204.9);
Tailwind
colors: {
  custom: {
    50: '#485a5c',
    500: '#031f22',
    950: '#000000',
  },
}
SCSS
$custom: #031f22;
$custom-light: #485a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#031f22",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 185.806,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21981,
    "c": 0.03408,
    "h": 204.9
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#031F22
secondary
#66221B
accent
#412EFA
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000404
muted
#777979

Preview Lab

Preview with #031F22

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

Preview Lab → · Contrast checker → · Palette generator →

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