#03271B#03271B

#03271B is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.3% C 0.047 H 166.4°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#03271B
RGBrgb(3, 39, 27)
HSLhsl(160, 86%, 8%)
HSVhsv(160, 92%, 15%)
CMYKcmyk(92.3%, 0%, 30.8%, 84.7%)
CIE-LABlab(12.92, -16.54, 4.32)
CIE-LCHlch(12.92, 17.09, 165.35°)
OKLaboklab(24.35% -0.0456 0.011)
OKLCHoklch(24.35% 0.047 166.4)
XYZxyz(0.9608, 1.5494, 1.2851)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03271B #27030F
analogous
#032709 #03271B #032127
triadic
#03271B #1B0327 #271B03
tetradic
#03271B #090327 #27030F #212703
square
#03271B #090327 #27030F #212703
split-complementary
#03271B #270321 #270903
monochromatic
#021C14 #021C14 #03271B #076042 #0C996A

Accessibility & contrast

On white

16.03
#03271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#03271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #03271B
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03271B#FFFFFF#000000##FFFFFF
##03271B1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#21201C
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #03271b;
/* rgb */ color: rgb(3, 39, 27);
/* oklch */ color: oklch(24.3% 0.047 166.4);
Tailwind
colors: {
  custom: {
    50: '#496157',
    500: '#03271b',
    950: '#000000',
  },
}
SCSS
$custom: #03271b;
$custom-light: #496157;
$custom-dark: #000000;
JSON
{
  "hex": "#03271b",
  "rgb": {
    "r": 3,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 160,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.04694,
    "h": 166.4
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#03271B
secondary
#6B1B36
accent
#2C71FC
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #03271B

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

Preview Lab → · Contrast checker → · Palette generator →

#03271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva