#01281F#01281F

#01281F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.046 H 173.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#01281F
RGBrgb(1, 40, 31)
HSLhsl(166, 95%, 8%)
HSVhsv(166, 98%, 16%)
CMYKcmyk(97.5%, 0%, 22.5%, 84.3%)
CIE-LABlab(13.37, -16.35, 2.11)
CIE-LCHlch(13.37, 16.49, 172.67°)
OKLaboklab(24.74% -0.046 0.0053)
OKLCHoklch(24.74% 0.046 173.4)
XYZxyz(1.0185, 1.6228, 1.5556)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01281F #28010A
analogous
#01280B #01281F #011D28
triadic
#01281F #1F0128 #281F01
tetradic
#01281F #0B0128 #28010A #1D2801
square
#01281F #0B0128 #28010A #1D2801
split-complementary
#01281F #28011D #280B01
monochromatic
#011E17 #011E17 #01281F #02644D #049F7C

Accessibility & contrast

On white

15.85
#01281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#01281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01281F
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01281F#FFFFFF#000000##FFFFFF
##01281F1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#212120
Tritanopia (blue-blind)
#002925
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #01281f;
/* rgb */ color: rgb(1, 40, 31);
/* oklch */ color: oklch(24.7% 0.046 173.4);
Tailwind
colors: {
  custom: {
    50: '#48625a',
    500: '#01281f',
    950: '#000000',
  },
}
SCSS
$custom: #01281f;
$custom-light: #48625a;
$custom-dark: #000000;
JSON
{
  "hex": "#01281f",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 166.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24736,
    "c": 0.04632,
    "h": 173.4
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#01281F
secondary
#6F162B
accent
#295AFF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01281F

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

Preview Lab → · Contrast checker → · Palette generator →

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