#166A5D#166A5D

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

Color values

HEX#166A5D
RGBrgb(22, 106, 93)
HSLhsl(171, 66%, 25%)
HSVhsv(171, 79%, 42%)
CMYKcmyk(79.2%, 0%, 12.3%, 58.4%)
CIE-LABlab(40.03, -27.43, 0.35)
CIE-LCHlch(40.03, 27.43, 179.27°)
OKLaboklab(47.31% -0.0792 0.0005)
OKLCHoklch(47.31% 0.079 179.7)
XYZxyz(7.4597, 11.2681, 12.1356)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A5D #6A1623
analogous
#166A33 #166A5D #164D6A
triadic
#166A5D #5D166A #6A5D16
tetradic
#166A5D #33166A #6A1623 #4D6A16
square
#166A5D #33166A #6A1623 #4D6A16
split-complementary
#166A5D #6A164D #6A3316
monochromatic
#051916 #0B3731 #166A5D #219D89 #2BCFB6

Accessibility & contrast

On white

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

On black

3.25
#166A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##166A5D#FFFFFF#000000##FFFFFF
##166A5D1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a5d;
/* rgb */ color: rgb(22, 106, 93);
/* oklch */ color: oklch(47.3% 0.079 179.7);
Tailwind
colors: {
  custom: {
    50: '#63958a',
    500: '#166a5d',
    950: '#000000',
  },
}
SCSS
$custom: #166a5d;
$custom-light: #63958a;
$custom-dark: #000000;
JSON
{
  "hex": "#166a5d",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 93
  },
  "hsl": {
    "h": 170.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47308,
    "c": 0.07916,
    "h": 179.7
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#166A5D
secondary
#A03B4B
accent
#3F59E9
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0B
muted
#7A7E7C

Preview Lab

Preview with #166A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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