#012B21#012B21

#012B21 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.8% C 0.049 H 172.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#012B21
RGBrgb(1, 43, 33)
HSLhsl(166, 95%, 9%)
HSVhsv(166, 98%, 17%)
CMYKcmyk(97.7%, 0%, 23.3%, 83.1%)
CIE-LABlab(14.65, -17.28, 2.52)
CIE-LCHlch(14.65, 17.46, 171.70°)
OKLaboklab(25.81% -0.0484 0.0064)
OKLCHoklch(25.81% 0.049 172.5)
XYZxyz(1.1508, 1.8439, 1.7338)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012B21 #2B010B
analogous
#012B0C #012B21 #01202B
triadic
#012B21 #21012B #2B2101
tetradic
#012B21 #0C012B #2B010B #202B01
square
#012B21 #0C012B #2B010B #202B01
split-complementary
#012B21 #2B0120 #2B0C01
monochromatic
#011E17 #011E17 #012B21 #02674F #04A37D

Accessibility & contrast

On white

15.34
#012B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#012B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012B21
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012B21#FFFFFF#000000##FFFFFF
##012B211.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292721
Deuteranopia (green-blind)
#242322
Tritanopia (blue-blind)
#002C28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012b21;
/* rgb */ color: rgb(1, 43, 33);
/* oklch */ color: oklch(25.8% 0.049 172.5);
Tailwind
colors: {
  custom: {
    50: '#49645c',
    500: '#012b21',
    950: '#000000',
  },
}
SCSS
$custom: #012b21;
$custom-light: #49645c;
$custom-dark: #000000;
JSON
{
  "hex": "#012b21",
  "rgb": {
    "r": 1,
    "g": 43,
    "b": 33
  },
  "hsl": {
    "h": 165.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25805,
    "c": 0.04887,
    "h": 172.5
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#012B21
secondary
#71172C
accent
#295CFF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #012B21

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

Preview Lab → · Contrast checker → · Palette generator →

#012B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva