#01271B#01271B

#01271B is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.3% C 0.048 H 167.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#01271B
RGBrgb(1, 39, 27)
HSLhsl(161, 95%, 8%)
HSVhsv(161, 97%, 15%)
CMYKcmyk(97.4%, 0%, 30.8%, 84.7%)
CIE-LABlab(12.84, -17.14, 4.20)
CIE-LCHlch(12.84, 17.64, 166.24°)
OKLaboklab(24.26% -0.0473 0.0107)
OKLCHoklch(24.26% 0.048 167.2)
XYZxyz(0.9358, 1.5365, 1.2840)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271B #27010D
analogous
#012708 #01271B #012027
triadic
#01271B #1B0127 #271B01
tetradic
#01271B #080127 #27010D #202701
square
#01271B #080127 #27010D #202701
split-complementary
#01271B #270120 #270801
monochromatic
#011E15 #011E15 #01271B #036344 #049E6E

Accessibility & contrast

On white

16.06
#01271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#01271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01271B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271B#FFFFFF#000000##FFFFFF
##01271B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#21201C
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271b;
/* rgb */ color: rgb(1, 39, 27);
/* oklch */ color: oklch(24.3% 0.048 167.2);
Tailwind
colors: {
  custom: {
    50: '#486157',
    500: '#01271b',
    950: '#000000',
  },
}
SCSS
$custom: #01271b;
$custom-light: #486157;
$custom-dark: #000000;
JSON
{
  "hex": "#01271b",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 161.053,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.2426,
    "c": 0.04847,
    "h": 167.2
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#01271B
secondary
#6E1632
accent
#296CFF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271B

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

Preview Lab → · Contrast checker → · Palette generator →

#01271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva