#012C21#012C21

#012C21 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.1% C 0.050 H 171.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#012C21
RGBrgb(1, 44, 33)
HSLhsl(165, 96%, 9%)
HSVhsv(165, 98%, 17%)
CMYKcmyk(97.7%, 0%, 25%, 82.7%)
CIE-LABlab(15.05, -17.80, 3.10)
CIE-LCHlch(15.05, 18.07, 170.13°)
OKLaboklab(26.14% -0.0497 0.0079)
OKLCHoklch(26.14% 0.05 171)
XYZxyz(1.1876, 1.9175, 1.7461)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C21 #2C010C
analogous
#012C0C #012C21 #01222C
triadic
#012C21 #21012C #2C2101
tetradic
#012C21 #0C012C #2C010C #222C01
square
#012C21 #0C012C #2C010C #222C01
split-complementary
#012C21 #2C0122 #2C0C01
monochromatic
#011E16 #011E16 #012C21 #02684E #04A47B

Accessibility & contrast

On white

15.18
#012C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#012C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C21
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C21#FFFFFF#000000##FFFFFF
##012C211.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2820
Deuteranopia (green-blind)
#252422
Tritanopia (blue-blind)
#002C29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #012c21;
/* rgb */ color: rgb(1, 44, 33);
/* oklch */ color: oklch(26.1% 0.050 171.0);
Tailwind
colors: {
  custom: {
    50: '#4a655c',
    500: '#012c21',
    950: '#000000',
  },
}
SCSS
$custom: #012c21;
$custom-light: #4a655c;
$custom-dark: #000000;
JSON
{
  "hex": "#012c21",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 33
  },
  "hsl": {
    "h": 164.651,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26136,
    "c": 0.05028,
    "h": 171
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#012C21
secondary
#72172E
accent
#2960FF
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010504
muted
#777A79

Preview Lab

Preview with #012C21

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

Preview Lab → · Contrast checker → · Palette generator →

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