#0D312F#0D312F

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

Color values

HEX#0D312F
RGBrgb(13, 49, 47)
HSLhsl(177, 58%, 12%)
HSVhsv(177, 73%, 19%)
CMYKcmyk(73.5%, 0%, 4.1%, 80.8%)
CIE-LABlab(17.86, -13.24, -2.53)
CIE-LCHlch(17.86, 13.48, 190.80°)
OKLaboklab(28.7% -0.04 -0.0071)
OKLCHoklch(28.7% 0.041 190)
XYZxyz(1.7772, 2.4872, 3.0752)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D312F #310D0F
analogous
#0D311D #0D312F #0D2131
triadic
#0D312F #2F0D31 #312F0D
tetradic
#0D312F #1D0D31 #310D0F #21310D
square
#0D312F #1D0D31 #310D0F #21310D
split-complementary
#0D312F #310D21 #311D0D
monochromatic
#061817 #061817 #0D312F #1A615D #27928C

Accessibility & contrast

On white

14.02
#0D312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0D312F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D312F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D312F#FFFFFF#000000##FFFFFF
##0D312F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#282A2F
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0d312f;
/* rgb */ color: rgb(13, 49, 47);
/* oklch */ color: oklch(28.7% 0.041 190.0);
Tailwind
colors: {
  custom: {
    50: '#516967',
    500: '#0d312f',
    950: '#000000',
  },
}
SCSS
$custom: #0d312f;
$custom-light: #516967;
$custom-dark: #000000;
JSON
{
  "hex": "#0d312f",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 176.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28699,
    "c": 0.04067,
    "h": 190
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#0D312F
secondary
#6C2E31
accent
#474FE1
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0D312F

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

Preview Lab → · Contrast checker → · Palette generator →

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