#08312D#08312D

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

Color values

HEX#08312D
RGBrgb(8, 49, 45)
HSLhsl(174, 72%, 11%)
HSVhsv(174, 84%, 19%)
CMYKcmyk(83.7%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.63, -14.94, -1.49)
CIE-LCHlch(17.63, 15.01, 185.71°)
OKLaboklab(28.45% -0.0442 -0.0043)
OKLCHoklch(28.45% 0.044 185.5)
XYZxyz(1.6719, 2.4375, 2.8645)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08312D #31080C
analogous
#083118 #08312D #082031
triadic
#08312D #2D0831 #312D08
tetradic
#08312D #180831 #31080C #203108
square
#08312D #180831 #31080C #203108
split-complementary
#08312D #310820 #311808
monochromatic
#041A18 #041A18 #08312D #11665D #199A8E

Accessibility & contrast

On white

14.12
#08312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08312D
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08312D#FFFFFF#000000##FFFFFF
##08312D1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #08312d;
/* rgb */ color: rgb(8, 49, 45);
/* oklch */ color: oklch(28.4% 0.044 185.5);
Tailwind
colors: {
  custom: {
    50: '#4f6965',
    500: '#08312d',
    950: '#000000',
  },
}
SCSS
$custom: #08312d;
$custom-light: #4f6965;
$custom-dark: #000000;
JSON
{
  "hex": "#08312d",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 174.146,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28446,
    "c": 0.04444,
    "h": 185.5
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #08312D

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

Preview Lab → · Contrast checker → · Palette generator →

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