#08271C#08271C

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

Color values

HEX#08271C
RGBrgb(8, 39, 28)
HSLhsl(159, 66%, 9%)
HSVhsv(159, 79%, 15%)
CMYKcmyk(79.5%, 0%, 28.2%, 84.7%)
CIE-LABlab(13.15, -14.80, 3.96)
CIE-LCHlch(13.15, 15.32, 165.01°)
OKLaboklab(24.6% -0.041 0.0101)
OKLCHoklch(24.6% 0.042 166.1)
XYZxyz(1.0352, 1.5864, 1.3500)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08271C #270813
analogous
#08270D #08271C #082327
triadic
#08271C #1C0827 #271C08
tetradic
#08271C #0D0827 #270813 #232708
square
#08271C #0D0827 #270813 #232708
split-complementary
#08271C #270823 #270D08
monochromatic
#051912 #051912 #08271C #125A40 #1D8D65

Accessibility & contrast

On white

15.94
#08271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08271C
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08271C#FFFFFF#000000##FFFFFF
##08271C1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#22211D
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #08271c;
/* rgb */ color: rgb(8, 39, 28);
/* oklch */ color: oklch(24.6% 0.042 166.1);
Tailwind
colors: {
  custom: {
    50: '#4b6158',
    500: '#08271c',
    950: '#000000',
  },
}
SCSS
$custom: #08271c;
$custom-light: #4b6158;
$custom-dark: #000000;
JSON
{
  "hex": "#08271c",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 158.71,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24603,
    "c": 0.04227,
    "h": 166.1
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#08271C
secondary
#65253C
accent
#3F7BE9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #08271C

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

Preview Lab → · Contrast checker → · Palette generator →

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