#08271B#08271B

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

Color values

HEX#08271B
RGBrgb(8, 39, 27)
HSLhsl(157, 66%, 9%)
HSVhsv(157, 79%, 15%)
CMYKcmyk(79.5%, 0%, 30.8%, 84.7%)
CIE-LABlab(13.12, -15.10, 4.63)
CIE-LCHlch(13.12, 15.80, 162.95°)
OKLaboklab(24.57% -0.0417 0.0118)
OKLCHoklch(24.57% 0.043 164.1)
XYZxyz(1.0234, 1.5817, 1.2881)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08271B #270814
analogous
#08270C #08271B #082427
triadic
#08271B #1B0827 #271B08
tetradic
#08271B #0C0827 #270814 #242708
square
#08271B #0C0827 #270814 #242708
split-complementary
#08271B #270824 #270C08
monochromatic
#051912 #051912 #08271B #125A3E #1D8D61

Accessibility & contrast

On white

15.95
#08271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08271B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08271B#FFFFFF#000000##FFFFFF
##08271B1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08271b;
/* rgb */ color: rgb(8, 39, 27);
/* oklch */ color: oklch(24.6% 0.043 164.1);
Tailwind
colors: {
  custom: {
    50: '#4b6157',
    500: '#08271b',
    950: '#000000',
  },
}
SCSS
$custom: #08271b;
$custom-light: #4b6157;
$custom-dark: #000000;
JSON
{
  "hex": "#08271b",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 156.774,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.04331,
    "h": 164.1
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#08271B
secondary
#65253E
accent
#3F81E9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #08271B

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

Preview Lab → · Contrast checker → · Palette generator →

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