#01271F#01271F

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

Color values

HEX#01271F
RGBrgb(1, 39, 31)
HSLhsl(167, 95%, 8%)
HSVhsv(167, 97%, 15%)
CMYKcmyk(97.4%, 0%, 20.5%, 84.7%)
CIE-LABlab(12.96, -15.82, 1.52)
CIE-LCHlch(12.96, 15.89, 174.51°)
OKLaboklab(24.4% -0.0448 0.0038)
OKLCHoklch(24.4% 0.045 175.2)
XYZxyz(0.9852, 1.5563, 1.5445)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271F #270109
analogous
#01270C #01271F #011C27
triadic
#01271F #1F0127 #271F01
tetradic
#01271F #0C0127 #270109 #1C2701
square
#01271F #0C0127 #270109 #1C2701
split-complementary
#01271F #27011C #270C01
monochromatic
#011E18 #011E18 #01271F #03634E #049E7E

Accessibility & contrast

On white

16.02
#01271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01271F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271F#FFFFFF#000000##FFFFFF
##01271F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#202020
Tritanopia (blue-blind)
#002825
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271f;
/* rgb */ color: rgb(1, 39, 31);
/* oklch */ color: oklch(24.4% 0.045 175.2);
Tailwind
colors: {
  custom: {
    50: '#48615a',
    500: '#01271f',
    950: '#000000',
  },
}
SCSS
$custom: #01271f;
$custom-light: #48615a;
$custom-dark: #000000;
JSON
{
  "hex": "#01271f",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 167.368,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24402,
    "c": 0.04493,
    "h": 175.2
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#01271F
secondary
#6E1629
accent
#2956FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271F

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

Preview Lab → · Contrast checker → · Palette generator →

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