#0D271F#0D271F

#0D271F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.9% C 0.036 H 170.6°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0D271F
RGBrgb(13, 39, 31)
HSLhsl(162, 50%, 10%)
HSVhsv(162, 67%, 15%)
CMYKcmyk(66.7%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.44, -12.51, 2.28)
CIE-LCHlch(13.44, 12.71, 169.68°)
OKLaboklab(24.93% -0.0353 0.0058)
OKLCHoklch(24.93% 0.036 170.6)
XYZxyz(1.1387, 1.6354, 1.5517)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D271F #270D15
analogous
#0D2712 #0D271F #0D2227
triadic
#0D271F #1F0D27 #271F0D
tetradic
#0D271F #120D27 #270D15 #22270D
square
#0D271F #120D27 #270D15 #22270D
split-complementary
#0D271F #270D22 #27120D
monochromatic
#081712 #081712 #0D271F #1C5543 #2C8368

Accessibility & contrast

On white

15.82
#0D271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0D271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D271F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D271F#FFFFFF#000000##FFFFFF
##0D271F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#222120
Tritanopia (blue-blind)
#032725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d271f;
/* rgb */ color: rgb(13, 39, 31);
/* oklch */ color: oklch(24.9% 0.036 170.6);
Tailwind
colors: {
  custom: {
    50: '#4e615a',
    500: '#0d271f',
    950: '#000000',
  },
}
SCSS
$custom: #0d271f;
$custom-light: #4e615a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d271f",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 161.538,
    "s": 50,
    "l": 10.196
  },
  "oklch": {
    "l": 0.24934,
    "c": 0.03577,
    "h": 170.6
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#0D271F
secondary
#612F3E
accent
#4E79DA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0D271F

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

Preview Lab → · Contrast checker → · Palette generator →

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