#08312A#08312A

#08312A is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.046 H 178.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#08312A
RGBrgb(8, 49, 42)
HSLhsl(170, 72%, 11%)
HSVhsv(170, 84%, 19%)
CMYKcmyk(83.7%, 0%, 14.3%, 80.8%)
CIE-LABlab(17.53, -15.95, 0.43)
CIE-LCHlch(17.53, 15.96, 178.44°)
OKLaboklab(28.33% -0.046 0.0009)
OKLCHoklch(28.33% 0.046 178.9)
XYZxyz(1.6162, 2.4152, 2.5710)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08312A #31080F
analogous
#083115 #08312A #082331
triadic
#08312A #2A0831 #312A08
tetradic
#08312A #150831 #31080F #233108
square
#08312A #150831 #31080F #233108
split-complementary
#08312A #310823 #311508
monochromatic
#041A17 #041A17 #08312A #116657 #199A84

Accessibility & contrast

On white

14.16
#08312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08312A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08312A#FFFFFF#000000##FFFFFF
##08312A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08312a;
/* rgb */ color: rgb(8, 49, 42);
/* oklch */ color: oklch(28.3% 0.046 178.9);
Tailwind
colors: {
  custom: {
    50: '#4f6963',
    500: '#08312a',
    950: '#000000',
  },
}
SCSS
$custom: #08312a;
$custom-light: #4f6963;
$custom-dark: #000000;
JSON
{
  "hex": "#08312a",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 169.756,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28329,
    "c": 0.04597,
    "h": 178.9
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#08312A
secondary
#702532
accent
#3958EF
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #08312A

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

Preview Lab → · Contrast checker → · Palette generator →

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