#166A5E#166A5E

#166A5E is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.3% C 0.079 H 180.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#166A5E
RGBrgb(22, 106, 94)
HSLhsl(171, 66%, 25%)
HSVhsv(171, 79%, 42%)
CMYKcmyk(79.2%, 0%, 11.3%, 58.4%)
CIE-LABlab(40.06, -27.13, -0.21)
CIE-LCHlch(40.06, 27.13, 180.45°)
OKLaboklab(47.34% -0.0786 -0.001)
OKLCHoklch(47.34% 0.079 180.8)
XYZxyz(7.5043, 11.2859, 12.3704)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A5E #6A1622
analogous
#166A34 #166A5E #164C6A
triadic
#166A5E #5E166A #6A5E16
tetradic
#166A5E #34166A #6A1622 #4C6A16
square
#166A5E #34166A #6A1622 #4C6A16
split-complementary
#166A5E #6A164C #6A3416
monochromatic
#051916 #0B3731 #166A5E #219D8B #2BCFB8

Accessibility & contrast

On white

6.45
#166A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#166A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A5E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A5E#FFFFFF#000000##FFFFFF
##166A5E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635E
Deuteranopia (green-blind)
#5A5B5F
Tritanopia (blue-blind)
#006C66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166a5e;
/* rgb */ color: rgb(22, 106, 94);
/* oklch */ color: oklch(47.3% 0.079 180.8);
Tailwind
colors: {
  custom: {
    50: '#63958b',
    500: '#166a5e',
    950: '#000000',
  },
}
SCSS
$custom: #166a5e;
$custom-light: #63958b;
$custom-dark: #000000;
JSON
{
  "hex": "#166a5e",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 94
  },
  "hsl": {
    "h": 171.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.07865,
    "h": 180.8
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

primary
#166A5E
secondary
#A03B4A
accent
#3F57E9
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #166A5E

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

Preview Lab → · Contrast checker → · Palette generator →

#166A5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva