#0D271E#0D271E

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

Color values

HEX#0D271E
RGBrgb(13, 39, 30)
HSLhsl(159, 50%, 10%)
HSVhsv(159, 67%, 15%)
CMYKcmyk(66.7%, 0%, 23.1%, 84.7%)
CIE-LABlab(13.41, -12.81, 2.94)
CIE-LCHlch(13.41, 13.14, 167.05°)
OKLaboklab(24.9% -0.0359 0.0076)
OKLCHoklch(24.9% 0.037 168.1)
XYZxyz(1.1257, 1.6302, 1.4834)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D271E #270D16
analogous
#0D2711 #0D271E #0D2327
triadic
#0D271E #1E0D27 #271E0D
tetradic
#0D271E #110D27 #270D16 #23270D
square
#0D271E #110D27 #270D16 #23270D
split-complementary
#0D271E #270D23 #27110D
monochromatic
#081712 #081712 #0D271E #1C5541 #2C8365

Accessibility & contrast

On white

15.84
#0D271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D271E
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D271E#FFFFFF#000000##FFFFFF
##0D271E1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241E
Deuteranopia (green-blind)
#22211F
Tritanopia (blue-blind)
#042724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0d271e;
/* rgb */ color: rgb(13, 39, 30);
/* oklch */ color: oklch(24.9% 0.037 168.1);
Tailwind
colors: {
  custom: {
    50: '#4e6159',
    500: '#0d271e',
    950: '#000000',
  },
}
SCSS
$custom: #0d271e;
$custom-light: #4e6159;
$custom-dark: #000000;
JSON
{
  "hex": "#0d271e",
  "rgb": {
    "r": 13,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 159.231,
    "s": 50,
    "l": 10.196
  },
  "oklch": {
    "l": 0.24898,
    "c": 0.03668,
    "h": 168.1
  },
  "luminance": 0.0163
}

Semantic roles & 50–950 ramp

primary
#0D271E
secondary
#612F40
accent
#4E7EDA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020503
muted
#787978

Preview Lab

Preview with #0D271E

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

Preview Lab → · Contrast checker → · Palette generator →

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