#01221F#01221F

#01221F is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.7% C 0.039 H 186.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#01221F
RGBrgb(1, 34, 31)
HSLhsl(175, 94%, 7%)
HSVhsv(175, 97%, 13%)
CMYKcmyk(97.1%, 0%, 8.8%, 86.7%)
CIE-LABlab(10.92, -12.98, -1.47)
CIE-LCHlch(10.92, 13.07, 186.45°)
OKLaboklab(22.73% -0.0385 -0.0042)
OKLCHoklch(22.73% 0.039 186.2)
XYZxyz(0.8317, 1.2493, 1.4934)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01221F #220104
analogous
#01220F #01221F #011522
triadic
#01221F #1F0122 #221F01
tetradic
#01221F #0F0122 #220104 #152201
square
#01221F #0F0122 #220104 #152201
split-complementary
#01221F #220115 #220F01
monochromatic
#011E1B #011E1B #01221F #035D55 #04998B

Accessibility & contrast

On white

16.80
#01221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#01221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01221F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01221F#FFFFFF#000000##FFFFFF
##01221F1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1F
Deuteranopia (green-blind)
#1B1C1F
Tritanopia (blue-blind)
#002321
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #01221f;
/* rgb */ color: rgb(1, 34, 31);
/* oklch */ color: oklch(22.7% 0.039 186.2);
Tailwind
colors: {
  custom: {
    50: '#475d5a',
    500: '#01221f',
    950: '#000000',
  },
}
SCSS
$custom: #01221f;
$custom-light: #475d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#01221f",
  "rgb": {
    "r": 1,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 174.545,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22728,
    "c": 0.03874,
    "h": 186.2
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#01221F
secondary
#69161D
accent
#293CFF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000403
muted
#777978

Preview Lab

Preview with #01221F

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

Preview Lab → · Contrast checker → · Palette generator →

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