#08311F#08311F

#08311F is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.0% C 0.056 H 160.0°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#08311F
RGBrgb(8, 49, 31)
HSLhsl(154, 72%, 11%)
HSVhsv(154, 84%, 19%)
CMYKcmyk(83.7%, 0%, 36.7%, 80.8%)
CIE-LABlab(17.21, -19.27, 7.54)
CIE-LCHlch(17.21, 20.70, 158.63°)
OKLaboklab(27.96% -0.0525 0.0191)
OKLCHoklch(27.96% 0.056 160)
XYZxyz(1.4456, 2.3470, 1.6729)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08311F #31081A
analogous
#08310A #08311F #082E31
triadic
#08311F #1F0831 #311F08
tetradic
#08311F #0A0831 #31081A #2E3108
square
#08311F #0A0831 #31081A #2E3108
split-complementary
#08311F #31082E #310A08
monochromatic
#041A11 #041A11 #08311F #116640 #199A62

Accessibility & contrast

On white

14.29
#08311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#08311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08311F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08311F#FFFFFF#000000##FFFFFF
##08311F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#2B2920
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08311f;
/* rgb */ color: rgb(8, 49, 31);
/* oklch */ color: oklch(28.0% 0.056 160.0);
Tailwind
colors: {
  custom: {
    50: '#4e695a',
    500: '#08311f',
    950: '#000000',
  },
}
SCSS
$custom: #08311f;
$custom-light: #4e695a;
$custom-dark: #000000;
JSON
{
  "hex": "#08311f",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 153.659,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.05589,
    "h": 160
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#08311F
secondary
#702546
accent
#3989EF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08311F

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

Preview Lab → · Contrast checker → · Palette generator →

#08311F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva