#0D312B#0D312B

#0D312B is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.5% C 0.042 H 180.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0D312B
RGBrgb(13, 49, 43)
HSLhsl(170, 58%, 12%)
HSVhsv(170, 73%, 19%)
CMYKcmyk(73.5%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.72, -14.58, 0.04)
CIE-LCHlch(17.72, 14.58, 179.86°)
OKLaboklab(28.54% -0.0423 -0.0001)
OKLCHoklch(28.54% 0.042 180.2)
XYZxyz(1.7001, 2.4564, 2.6696)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D312B #310D13
analogous
#0D3119 #0D312B #0D2531
triadic
#0D312B #2B0D31 #312B0D
tetradic
#0D312B #190D31 #310D13 #25310D
square
#0D312B #190D31 #310D13 #25310D
split-complementary
#0D312B #310D25 #31190D
monochromatic
#061815 #061815 #0D312B #1A6155 #279280

Accessibility & contrast

On white

14.08
#0D312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D312B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D312B#FFFFFF#000000##FFFFFF
##0D312B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#292A2C
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0d312b;
/* rgb */ color: rgb(13, 49, 43);
/* oklch */ color: oklch(28.5% 0.042 180.2);
Tailwind
colors: {
  custom: {
    50: '#516964',
    500: '#0d312b',
    950: '#000000',
  },
}
SCSS
$custom: #0d312b;
$custom-light: #516964;
$custom-dark: #000000;
JSON
{
  "hex": "#0d312b",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 170,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28538,
    "c": 0.04232,
    "h": 180.2
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#0D312B
secondary
#6C2E38
accent
#4760E1
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0D312B

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

Preview Lab → · Contrast checker → · Palette generator →

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