#031F1B#031F1B

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

Color values

HEX#031F1B
RGBrgb(3, 31, 27)
HSLhsl(171, 82%, 7%)
HSVhsv(171, 90%, 12%)
CMYKcmyk(90.3%, 0%, 12.9%, 87.8%)
CIE-LABlab(9.63, -11.79, -0.40)
CIE-LCHlch(9.63, 11.80, 181.96°)
OKLaboklab(21.65% -0.0351 -0.0013)
OKLCHoklch(21.65% 0.035 182.1)
XYZxyz(0.7253, 1.0784, 1.2066)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1B #1F0307
analogous
#031F0D #031F1B #03151F
triadic
#031F1B #1B031F #1F1B03
tetradic
#031F1B #0D031F #1F0307 #151F03
square
#031F1B #0D031F #1F0307 #151F03
split-complementary
#031F1B #1F0315 #1F0D03
monochromatic
#031C18 #031C18 #031F1B #08574C #0E8F7C

Accessibility & contrast

On white

17.28
#031F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F1B
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1B#FFFFFF#000000##FFFFFF
##031F1B1.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1D1B
Deuteranopia (green-blind)
#19191B
Tritanopia (blue-blind)
#00201E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #031f1b;
/* rgb */ color: rgb(3, 31, 27);
/* oklch */ color: oklch(21.7% 0.035 182.1);
Tailwind
colors: {
  custom: {
    50: '#475a57',
    500: '#031f1b',
    950: '#000000',
  },
}
SCSS
$custom: #031f1b;
$custom-light: #475a57;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1b",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 171.429,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21655,
    "c": 0.0351,
    "h": 182.1
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#031F1B
secondary
#631B25
accent
#2F4CF9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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