#0D5140#0D5140

#0D5140 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.0% C 0.071 H 171.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#0D5140
RGBrgb(13, 81, 64)
HSLhsl(165, 72%, 18%)
HSVhsv(165, 84%, 32%)
CMYKcmyk(84%, 0%, 21%, 68.2%)
CIE-LABlab(30.25, -24.98, 4.24)
CIE-LCHlch(30.25, 25.33, 170.37°)
OKLaboklab(38.99% -0.0699 0.0108)
OKLCHoklch(38.99% 0.071 171.2)
XYZxyz(4.0333, 6.3401, 5.8607)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5140 #510D1E
analogous
#0D511E #0D5140 #0D4051
triadic
#0D5140 #400D51 #51400D
tetradic
#0D5140 #1E0D51 #510D1E #40510D
square
#0D5140 #1E0D51 #510D1E #40510D
split-complementary
#0D5140 #510D40 #511E0D
monochromatic
#041A15 #051C16 #0D5140 #15866A #1EBA93

Accessibility & contrast

On white

9.26
#0D5140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0D5140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5140
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5140#FFFFFF#000000##FFFFFF
##0D51401.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3F
Deuteranopia (green-blind)
#464541
Tritanopia (blue-blind)
#00524C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0d5140;
/* rgb */ color: rgb(13, 81, 64);
/* oklch */ color: oklch(39.0% 0.071 171.2);
Tailwind
colors: {
  custom: {
    50: '#598274',
    500: '#0d5140',
    950: '#000000',
  },
}
SCSS
$custom: #0d5140;
$custom-light: #598274;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5140",
  "rgb": {
    "r": 13,
    "g": 81,
    "b": 64
  },
  "hsl": {
    "h": 165,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.07074,
    "h": 171.2
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#0D5140
secondary
#8C2E45
accent
#3966EF
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0D5140

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

Preview Lab → · Contrast checker → · Palette generator →

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