#031F1C#031F1C

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

Color values

HEX#031F1C
RGBrgb(3, 31, 28)
HSLhsl(174, 82%, 7%)
HSVhsv(174, 90%, 12%)
CMYKcmyk(90.3%, 0%, 9.7%, 87.8%)
CIE-LABlab(9.67, -11.47, -1.09)
CIE-LCHlch(9.67, 11.52, 185.43°)
OKLaboklab(21.7% -0.0345 -0.0031)
OKLCHoklch(21.7% 0.035 185.2)
XYZxyz(0.7370, 1.0831, 1.2686)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031F1C #1F0306
analogous
#031F0E #031F1C #03141F
triadic
#031F1C #1C031F #1F1C03
tetradic
#031F1C #0E031F #1F0306 #141F03
square
#031F1C #0E031F #1F0306 #141F03
split-complementary
#031F1C #1F0314 #1F0E03
monochromatic
#031C19 #031C19 #031F1C #08574E #0E8F81

Accessibility & contrast

On white

17.26
#031F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031F1C
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031F1C#FFFFFF#000000##FFFFFF
##031F1C1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #031f1c;
/* rgb */ color: rgb(3, 31, 28);
/* oklch */ color: oklch(21.7% 0.035 185.2);
Tailwind
colors: {
  custom: {
    50: '#475a57',
    500: '#031f1c',
    950: '#000000',
  },
}
SCSS
$custom: #031f1c;
$custom-light: #475a57;
$custom-dark: #000000;
JSON
{
  "hex": "#031f1c",
  "rgb": {
    "r": 3,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 173.571,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21698,
    "c": 0.0346,
    "h": 185.2
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#031F1C
secondary
#631B22
accent
#2F45F9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #031F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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