#0D312D#0D312D

#0D312D is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.6% C 0.041 H 185.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#0D312D
RGBrgb(13, 49, 45)
HSLhsl(173, 58%, 12%)
HSVhsv(173, 73%, 19%)
CMYKcmyk(73.5%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.79, -13.92, -1.25)
CIE-LCHlch(17.79, 13.98, 185.12°)
OKLaboklab(28.62% -0.0412 -0.0036)
OKLCHoklch(28.62% 0.041 185)
XYZxyz(1.7377, 2.4715, 2.8676)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D312D #310D11
analogous
#0D311B #0D312D #0D2331
triadic
#0D312D #2D0D31 #312D0D
tetradic
#0D312D #1B0D31 #310D11 #23310D
square
#0D312D #1B0D31 #310D11 #23310D
split-complementary
#0D312D #310D23 #311B0D
monochromatic
#061816 #061816 #0D312D #1A6159 #279286

Accessibility & contrast

On white

14.05
#0D312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0D312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D312D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D312D#FFFFFF#000000##FFFFFF
##0D312D1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d312d;
/* rgb */ color: rgb(13, 49, 45);
/* oklch */ color: oklch(28.6% 0.041 185.0);
Tailwind
colors: {
  custom: {
    50: '#516965',
    500: '#0d312d',
    950: '#000000',
  },
}
SCSS
$custom: #0d312d;
$custom-light: #516965;
$custom-dark: #000000;
JSON
{
  "hex": "#0d312d",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 173.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28617,
    "c": 0.04134,
    "h": 185
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#0D312D
secondary
#6C2E35
accent
#4758E1
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0D312D

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

Preview Lab → · Contrast checker → · Palette generator →

#0D312D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva