#08271A#08271A

#08271A is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.044 H 162.3°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#08271A
RGBrgb(8, 39, 26)
HSLhsl(155, 66%, 9%)
HSVhsv(155, 79%, 15%)
CMYKcmyk(79.5%, 0%, 33.3%, 84.7%)
CIE-LABlab(13.09, -15.39, 5.30)
CIE-LCHlch(13.09, 16.28, 160.99°)
OKLaboklab(24.54% -0.0423 0.0135)
OKLCHoklch(24.54% 0.044 162.3)
XYZxyz(1.0120, 1.5771, 1.2282)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08271A #270815
analogous
#08270B #08271A #082527
triadic
#08271A #1A0827 #271A08
tetradic
#08271A #0B0827 #270815 #252708
square
#08271A #0B0827 #270815 #252708
split-complementary
#08271A #270825 #270B08
monochromatic
#051911 #051911 #08271A #125A3C #1D8D5E

Accessibility & contrast

On white

15.96
#08271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#08271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08271A
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08271A#FFFFFF#000000##FFFFFF
##08271A1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262419
Deuteranopia (green-blind)
#22201B
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #08271a;
/* rgb */ color: rgb(8, 39, 26);
/* oklch */ color: oklch(24.5% 0.044 162.3);
Tailwind
colors: {
  custom: {
    50: '#4b6156',
    500: '#08271a',
    950: '#000000',
  },
}
SCSS
$custom: #08271a;
$custom-light: #4b6156;
$custom-dark: #000000;
JSON
{
  "hex": "#08271a",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 154.839,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24538,
    "c": 0.04438,
    "h": 162.3
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#08271A
secondary
#652540
accent
#3F86E9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #08271A

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

Preview Lab → · Contrast checker → · Palette generator →

#08271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva