#164F42#164F42

#164F42 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.7% C 0.063 H 174.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#164F42
RGBrgb(22, 79, 66)
HSLhsl(166, 56%, 20%)
HSVhsv(166, 72%, 31%)
CMYKcmyk(72.2%, 0%, 16.5%, 69%)
CIE-LABlab(29.80, -21.93, 2.34)
CIE-LCHlch(29.80, 22.05, 173.92°)
OKLaboklab(38.7% -0.0623 0.0059)
OKLCHoklch(38.7% 0.063 174.6)
XYZxyz(4.1097, 6.1554, 6.1247)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F42 #4F1623
analogous
#164F26 #164F42 #16404F
triadic
#164F42 #42164F #4F4216
tetradic
#164F42 #26164F #4F1623 #404F16
square
#164F42 #26164F #4F1623 #404F16
split-complementary
#164F42 #4F1640 #4F2616
monochromatic
#071814 #091F1A #164F42 #237F6A #31AF92

Accessibility & contrast

On white

9.41
#164F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#164F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F42
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F42#FFFFFF#000000##FFFFFF
##164F421.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A41
Deuteranopia (green-blind)
#444443
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #164f42;
/* rgb */ color: rgb(22, 79, 66);
/* oklch */ color: oklch(38.7% 0.063 174.6);
Tailwind
colors: {
  custom: {
    50: '#5c8176',
    500: '#164f42',
    950: '#000000',
  },
}
SCSS
$custom: #164f42;
$custom-light: #5c8176;
$custom-dark: #000000;
JSON
{
  "hex": "#164f42",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 166.316,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38696,
    "c": 0.06256,
    "h": 174.6
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#164F42
secondary
#863A4C
accent
#486BE0
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #164F42

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

Preview Lab → · Contrast checker → · Palette generator →

#164F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva