#08271E#08271E

#08271E is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.040 H 170.4°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#08271E
RGBrgb(8, 39, 30)
HSLhsl(163, 66%, 9%)
HSVhsv(163, 79%, 15%)
CMYKcmyk(79.5%, 0%, 23.1%, 84.7%)
CIE-LABlab(13.21, -14.19, 2.62)
CIE-LCHlch(13.21, 14.43, 169.52°)
OKLaboklab(24.67% -0.0398 0.0067)
OKLCHoklch(24.67% 0.04 170.4)
XYZxyz(1.0599, 1.5963, 1.4803)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08271E #270811
analogous
#08270F #08271E #082127
triadic
#08271E #1E0827 #271E08
tetradic
#08271E #0F0827 #270811 #212708
square
#08271E #0F0827 #270811 #212708
split-complementary
#08271E #270821 #270F08
monochromatic
#051914 #051914 #08271E #125A45 #1D8D6C

Accessibility & contrast

On white

15.92
#08271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08271E
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08271E#FFFFFF#000000##FFFFFF
##08271E1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08271e;
/* rgb */ color: rgb(8, 39, 30);
/* oklch */ color: oklch(24.7% 0.040 170.4);
Tailwind
colors: {
  custom: {
    50: '#4c6159',
    500: '#08271e',
    950: '#000000',
  },
}
SCSS
$custom: #08271e;
$custom-light: #4c6159;
$custom-dark: #000000;
JSON
{
  "hex": "#08271e",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 162.581,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24673,
    "c": 0.04038,
    "h": 170.4
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#08271E
secondary
#652538
accent
#3F70E9
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #08271E

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

Preview Lab → · Contrast checker → · Palette generator →

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