#0D312A#0D312A

#0D312A is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.5% C 0.043 H 177.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#0D312A
RGBrgb(13, 49, 42)
HSLhsl(168, 58%, 12%)
HSVhsv(168, 73%, 19%)
CMYKcmyk(73.5%, 0%, 14.3%, 80.8%)
CIE-LABlab(17.69, -14.91, 0.68)
CIE-LCHlch(17.69, 14.92, 177.39°)
OKLaboklab(28.5% -0.0429 0.0016)
OKLCHoklch(28.5% 0.043 177.9)
XYZxyz(1.6820, 2.4492, 2.5741)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D312A #310D14
analogous
#0D3118 #0D312A #0D2631
triadic
#0D312A #2A0D31 #312A0D
tetradic
#0D312A #180D31 #310D14 #26310D
square
#0D312A #180D31 #310D14 #26310D
split-complementary
#0D312A #310D26 #31180D
monochromatic
#061815 #061815 #0D312A #1A6153 #27927D

Accessibility & contrast

On white

14.10
#0D312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D312A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D312A#FFFFFF#000000##FFFFFF
##0D312A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d312a;
/* rgb */ color: rgb(13, 49, 42);
/* oklch */ color: oklch(28.5% 0.043 177.9);
Tailwind
colors: {
  custom: {
    50: '#516963',
    500: '#0d312a',
    950: '#000000',
  },
}
SCSS
$custom: #0d312a;
$custom-light: #516963;
$custom-dark: #000000;
JSON
{
  "hex": "#0d312a",
  "rgb": {
    "r": 13,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 168.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.285,
    "c": 0.04292,
    "h": 177.9
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#0D312A
secondary
#6C2E3A
accent
#4765E1
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0D312A

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

Preview Lab → · Contrast checker → · Palette generator →

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