#08311E#08311E

#08311E is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.9% C 0.057 H 158.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#08311E
RGBrgb(8, 49, 30)
HSLhsl(152, 72%, 11%)
HSVhsv(152, 84%, 19%)
CMYKcmyk(83.7%, 0%, 38.8%, 80.8%)
CIE-LABlab(17.19, -19.54, 8.19)
CIE-LCHlch(17.19, 21.18, 157.27°)
OKLaboklab(27.93% -0.0531 0.0207)
OKLCHoklch(27.93% 0.057 158.7)
XYZxyz(1.4327, 2.3418, 1.6046)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08311E #31081B
analogous
#083109 #08311E #082F31
triadic
#08311E #1E0831 #311E08
tetradic
#08311E #090831 #31081B #2F3108
square
#08311E #090831 #31081B #2F3108
split-complementary
#08311E #31082F #310908
monochromatic
#041A10 #041A10 #08311E #11663E #199A5E

Accessibility & contrast

On white

14.30
#08311E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08311E
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08311E#FFFFFF#000000##FFFFFF
##08311E1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08311e;
/* rgb */ color: rgb(8, 49, 30);
/* oklch */ color: oklch(27.9% 0.057 158.7);
Tailwind
colors: {
  custom: {
    50: '#4e6959',
    500: '#08311e',
    950: '#000000',
  },
}
SCSS
$custom: #08311e;
$custom-light: #4e6959;
$custom-dark: #000000;
JSON
{
  "hex": "#08311e",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 152.195,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27934,
    "c": 0.057,
    "h": 158.7
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#08311E
secondary
#702548
accent
#398DEF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #08311E

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

Preview Lab → · Contrast checker → · Palette generator →

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