#012A21#012A21

#012A21 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.5% C 0.047 H 174.1°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#012A21
RGBrgb(1, 42, 33)
HSLhsl(167, 95%, 8%)
HSVhsv(167, 98%, 16%)
CMYKcmyk(97.6%, 0%, 21.4%, 83.5%)
CIE-LABlab(14.24, -16.75, 1.94)
CIE-LCHlch(14.24, 16.86, 173.39°)
OKLaboklab(25.47% -0.0472 0.0049)
OKLCHoklch(25.47% 0.047 174.1)
XYZxyz(1.1148, 1.7720, 1.7218)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A21 #2A010A
analogous
#012A0C #012A21 #011E2A
triadic
#012A21 #21012A #2A2101
tetradic
#012A21 #0C012A #2A010A #1E2A01
square
#012A21 #0C012A #2A010A #1E2A01
split-complementary
#012A21 #2A011E #2A0C01
monochromatic
#011E17 #011E17 #012A21 #026650 #04A27F

Accessibility & contrast

On white

15.51
#012A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#012A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A21
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A21#FFFFFF#000000##FFFFFF
##012A211.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282621
Deuteranopia (green-blind)
#232222
Tritanopia (blue-blind)
#002B27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #012a21;
/* rgb */ color: rgb(1, 42, 33);
/* oklch */ color: oklch(25.5% 0.047 174.1);
Tailwind
colors: {
  custom: {
    50: '#49645c',
    500: '#012a21',
    950: '#000000',
  },
}
SCSS
$custom: #012a21;
$custom-light: #49645c;
$custom-dark: #000000;
JSON
{
  "hex": "#012a21",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 33
  },
  "hsl": {
    "h": 166.829,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25474,
    "c": 0.04748,
    "h": 174.1
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#012A21
secondary
#70162A
accent
#2958FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010504
muted
#777979

Preview Lab

Preview with #012A21

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

Preview Lab → · Contrast checker → · Palette generator →

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