#03271F#03271F

#03271F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.043 H 174.5°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#03271F
RGBrgb(3, 39, 31)
HSLhsl(167, 86%, 8%)
HSVhsv(167, 92%, 15%)
CMYKcmyk(92.3%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.04, -15.24, 1.64)
CIE-LCHlch(13.04, 15.33, 173.84°)
OKLaboklab(24.49% -0.0431 0.0041)
OKLCHoklch(24.49% 0.043 174.5)
XYZxyz(1.0103, 1.5692, 1.5457)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#03271F #27030B
analogous
#03270D #03271F #031D27
triadic
#03271F #1F0327 #271F03
tetradic
#03271F #0D0327 #27030B #1D2703
square
#03271F #0D0327 #27030B #1D2703
split-complementary
#03271F #27031D #270D03
monochromatic
#021C17 #021C17 #03271F #07604C #0C9979

Accessibility & contrast

On white

15.98
#03271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #03271F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##03271F#FFFFFF#000000##FFFFFF
##03271F1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#202020
Tritanopia (blue-blind)
#002825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #03271f;
/* rgb */ color: rgb(3, 39, 31);
/* oklch */ color: oklch(24.5% 0.043 174.5);
Tailwind
colors: {
  custom: {
    50: '#49615a',
    500: '#03271f',
    950: '#000000',
  },
}
SCSS
$custom: #03271f;
$custom-light: #49615a;
$custom-dark: #000000;
JSON
{
  "hex": "#03271f",
  "rgb": {
    "r": 3,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 166.667,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24491,
    "c": 0.04334,
    "h": 174.5
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#03271F
secondary
#6B1B2D
accent
#2C5AFC
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #03271F

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

Preview Lab → · Contrast checker → · Palette generator →

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