#08312B#08312B

#08312B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.045 H 181.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#08312B
RGBrgb(8, 49, 43)
HSLhsl(171, 72%, 11%)
HSVhsv(171, 84%, 19%)
CMYKcmyk(83.7%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.56, -15.62, -0.21)
CIE-LCHlch(17.56, 15.62, 180.77°)
OKLaboklab(28.37% -0.0454 -0.0008)
OKLCHoklch(28.37% 0.045 181)
XYZxyz(1.6343, 2.4225, 2.6665)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08312B #31080E
analogous
#083116 #08312B #082231
triadic
#08312B #2B0831 #312B08
tetradic
#08312B #160831 #31080E #223108
square
#08312B #160831 #31080E #223108
split-complementary
#08312B #310822 #311608
monochromatic
#041A17 #041A17 #08312B #116659 #199A87

Accessibility & contrast

On white

14.15
#08312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#08312B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08312B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08312B#FFFFFF#000000##FFFFFF
##08312B1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2B
Deuteranopia (green-blind)
#29292C
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #08312b;
/* rgb */ color: rgb(8, 49, 43);
/* oklch */ color: oklch(28.4% 0.045 181.0);
Tailwind
colors: {
  custom: {
    50: '#4f6964',
    500: '#08312b',
    950: '#000000',
  },
}
SCSS
$custom: #08312b;
$custom-light: #4f6964;
$custom-dark: #000000;
JSON
{
  "hex": "#08312b",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 171.22,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28367,
    "c": 0.04539,
    "h": 181
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#08312B
secondary
#702530
accent
#3954EF
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #08312B

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

Preview Lab → · Contrast checker → · Palette generator →

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