#01271E#01271E

#01271E is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.4% C 0.046 H 173.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#01271E
RGBrgb(1, 39, 30)
HSLhsl(166, 95%, 8%)
HSVhsv(166, 97%, 15%)
CMYKcmyk(97.4%, 0%, 23.1%, 84.7%)
CIE-LABlab(12.93, -16.16, 2.19)
CIE-LCHlch(12.93, 16.30, 172.29°)
OKLaboklab(24.37% -0.0454 0.0055)
OKLCHoklch(24.37% 0.046 173.1)
XYZxyz(0.9723, 1.5511, 1.4762)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271E #27010A
analogous
#01270B #01271E #011D27
triadic
#01271E #1E0127 #271E01
tetradic
#01271E #0B0127 #27010A #1D2701
square
#01271E #0B0127 #27010A #1D2701
split-complementary
#01271E #27011D #270B01
monochromatic
#011E17 #011E17 #01271E #03634C #049E7A

Accessibility & contrast

On white

16.03
#01271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01271E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271E#FFFFFF#000000##FFFFFF
##01271E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#20201F
Tritanopia (blue-blind)
#002824
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271e;
/* rgb */ color: rgb(1, 39, 30);
/* oklch */ color: oklch(24.4% 0.046 173.1);
Tailwind
colors: {
  custom: {
    50: '#486159',
    500: '#01271e',
    950: '#000000',
  },
}
SCSS
$custom: #01271e;
$custom-light: #486159;
$custom-dark: #000000;
JSON
{
  "hex": "#01271e",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 165.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24365,
    "c": 0.04573,
    "h": 173.1
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#01271E
secondary
#6E162B
accent
#295CFF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271E

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

Preview Lab → · Contrast checker → · Palette generator →

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