#08271D#08271D

#08271D is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.6% C 0.041 H 168.2°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#08271D
RGBrgb(8, 39, 29)
HSLhsl(161, 66%, 9%)
HSVhsv(161, 79%, 15%)
CMYKcmyk(79.5%, 0%, 25.6%, 84.7%)
CIE-LABlab(13.18, -14.50, 3.29)
CIE-LCHlch(13.18, 14.87, 167.20°)
OKLaboklab(24.64% -0.0404 0.0084)
OKLCHoklch(24.64% 0.041 168.2)
XYZxyz(1.0473, 1.5913, 1.4141)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08271D #270812
analogous
#08270E #08271D #082227
triadic
#08271D #1D0827 #271D08
tetradic
#08271D #0E0827 #270812 #222708
square
#08271D #0E0827 #270812 #222708
split-complementary
#08271D #270822 #270E08
monochromatic
#051913 #051913 #08271D #125A43 #1D8D69

Accessibility & contrast

On white

15.93
#08271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08271D
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08271D#FFFFFF#000000##FFFFFF
##08271D1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241C
Deuteranopia (green-blind)
#21211E
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #08271d;
/* rgb */ color: rgb(8, 39, 29);
/* oklch */ color: oklch(24.6% 0.041 168.2);
Tailwind
colors: {
  custom: {
    50: '#4c6158',
    500: '#08271d',
    950: '#000000',
  },
}
SCSS
$custom: #08271d;
$custom-light: #4c6158;
$custom-dark: #000000;
JSON
{
  "hex": "#08271d",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 160.645,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24637,
    "c": 0.0413,
    "h": 168.2
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#08271D
secondary
#65253A
accent
#3F76E9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #08271D

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

Preview Lab → · Contrast checker → · Palette generator →

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