#01251F#01251F

#01251F is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.7% C 0.042 H 179.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#01251F
RGBrgb(1, 37, 31)
HSLhsl(170, 95%, 7%)
HSVhsv(170, 97%, 15%)
CMYKcmyk(97.3%, 0%, 16.2%, 85.5%)
CIE-LABlab(12.15, -14.71, 0.34)
CIE-LCHlch(12.15, 14.71, 178.69°)
OKLaboklab(23.73% -0.0423 0.0007)
OKLCHoklch(23.73% 0.042 179.1)
XYZxyz(0.9213, 1.4284, 1.5232)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01251F #250107
analogous
#01250D #01251F #011925
triadic
#01251F #1F0125 #251F01
tetradic
#01251F #0D0125 #250107 #192501
square
#01251F #0D0125 #250107 #192501
split-complementary
#01251F #250119 #250D01
monochromatic
#011E19 #011E19 #01251F #036151 #049C83

Accessibility & contrast

On white

16.33
#01251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#01251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01251F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01251F#FFFFFF#000000##FFFFFF
##01251F1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#1E1E1F
Tritanopia (blue-blind)
#002623
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #01251f;
/* rgb */ color: rgb(1, 37, 31);
/* oklch */ color: oklch(23.7% 0.042 179.1);
Tailwind
colors: {
  custom: {
    50: '#48605a',
    500: '#01251f',
    950: '#000000',
  },
}
SCSS
$custom: #01251f;
$custom-light: #48605a;
$custom-dark: #000000;
JSON
{
  "hex": "#01251f",
  "rgb": {
    "r": 1,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 170,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23733,
    "c": 0.04228,
    "h": 179.1
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#01251F
secondary
#6C1624
accent
#294DFF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #01251F

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

Preview Lab → · Contrast checker → · Palette generator →

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