#03311F#03311F

#03311F is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.059 H 161.6°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#03311F
RGBrgb(3, 49, 31)
HSLhsl(157, 88%, 10%)
HSVhsv(157, 94%, 19%)
CMYKcmyk(93.9%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.06, -20.43, 7.31)
CIE-LCHlch(17.06, 21.70, 160.32°)
OKLaboklab(27.79% -0.0556 0.0185)
OKLCHoklch(27.79% 0.059 161.6)
XYZxyz(1.3830, 2.3147, 1.6700)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03311F #310315
analogous
#033108 #03311F #032C31
triadic
#03311F #1F0331 #311F03
tetradic
#03311F #080331 #310315 #2C3103
square
#03311F #080331 #310315 #2C3103
split-complementary
#03311F #31032C #310803
monochromatic
#021D12 #021D12 #03311F #076B43 #0AA468

Accessibility & contrast

On white

14.35
#03311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#03311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03311F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03311F#FFFFFF#000000##FFFFFF
##03311F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1E
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #03311f;
/* rgb */ color: rgb(3, 49, 31);
/* oklch */ color: oklch(27.8% 0.059 161.6);
Tailwind
colors: {
  custom: {
    50: '#4c695a',
    500: '#03311f',
    950: '#000000',
  },
}
SCSS
$custom: #03311f;
$custom-light: #4c695a;
$custom-dark: #000000;
JSON
{
  "hex": "#03311f",
  "rgb": {
    "r": 3,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 156.522,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27792,
    "c": 0.05861,
    "h": 161.6
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#03311F
secondary
#741B3E
accent
#297DFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #03311F

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

Preview Lab → · Contrast checker → · Palette generator →

#03311F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva