#08312C#08312C

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

Color values

HEX#08312C
RGBrgb(8, 49, 44)
HSLhsl(173, 72%, 11%)
HSVhsv(173, 84%, 19%)
CMYKcmyk(83.7%, 0%, 10.2%, 80.8%)
CIE-LABlab(17.60, -15.28, -0.85)
CIE-LCHlch(17.60, 15.30, 183.19°)
OKLaboklab(28.41% -0.0448 -0.0026)
OKLCHoklch(28.41% 0.045 183.3)
XYZxyz(1.6529, 2.4299, 2.7643)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08312C #31080D
analogous
#083117 #08312C #082131
triadic
#08312C #2C0831 #312C08
tetradic
#08312C #170831 #31080D #213108
square
#08312C #170831 #31080D #213108
split-complementary
#08312C #310821 #311708
monochromatic
#041A18 #041A18 #08312C #11665B #199A8A

Accessibility & contrast

On white

14.13
#08312C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#08312C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08312C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08312C#FFFFFF#000000##FFFFFF
##08312C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08312c;
/* rgb */ color: rgb(8, 49, 44);
/* oklch */ color: oklch(28.4% 0.045 183.3);
Tailwind
colors: {
  custom: {
    50: '#4f6965',
    500: '#08312c',
    950: '#000000',
  },
}
SCSS
$custom: #08312c;
$custom-light: #4f6965;
$custom-dark: #000000;
JSON
{
  "hex": "#08312c",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 172.683,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28406,
    "c": 0.04487,
    "h": 183.3
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#08312C
secondary
#70252E
accent
#394FEF
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #08312C

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

Preview Lab → · Contrast checker → · Palette generator →

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