#0D312E#0D312E

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

Color values

HEX#0D312E
RGBrgb(13, 49, 46)
HSLhsl(175, 58%, 12%)
HSVhsv(175, 73%, 19%)
CMYKcmyk(73.5%, 0%, 6.1%, 80.8%)
CIE-LABlab(17.82, -13.59, -1.89)
CIE-LCHlch(17.82, 13.72, 187.91°)
OKLaboklab(28.66% -0.0406 -0.0053)
OKLCHoklch(28.66% 0.041 187.5)
XYZxyz(1.7572, 2.4793, 2.9702)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D312E #310D10
analogous
#0D311C #0D312E #0D2231
triadic
#0D312E #2E0D31 #312E0D
tetradic
#0D312E #1C0D31 #310D10 #22310D
square
#0D312E #1C0D31 #310D10 #22310D
split-complementary
#0D312E #310D22 #311C0D
monochromatic
#061817 #061817 #0D312E #1A615B #279289

Accessibility & contrast

On white

14.04
#0D312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D312E
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D312E#FFFFFF#000000##FFFFFF
##0D312E1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d312e;
/* rgb */ color: rgb(13, 49, 46);
/* oklch */ color: oklch(28.7% 0.041 187.5);
Tailwind
colors: {
  custom: {
    50: '#516966',
    500: '#0d312e',
    950: '#000000',
  },
}
SCSS
$custom: #0d312e;
$custom-light: #516966;
$custom-dark: #000000;
JSON
{
  "hex": "#0d312e",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 175,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28658,
    "c": 0.04096,
    "h": 187.5
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#0D312E
secondary
#6C2E33
accent
#4753E1
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0D312E

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

Preview Lab → · Contrast checker → · Palette generator →

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