#166F7F#166F7F

#166F7F is a mid, moderate teal. Relative luminance 0.131; OKLCH L 50.0% C 0.082 H 213.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#166F7F
RGBrgb(22, 111, 127)
HSLhsl(189, 70%, 29%)
HSVhsv(189, 83%, 50%)
CMYKcmyk(82.7%, 12.6%, 0%, 50.2%)
CIE-LABlab(42.87, -18.93, -16.00)
CIE-LCHlch(42.87, 24.79, 220.20°)
OKLaboklab(50% -0.0682 -0.0446)
OKLCHoklch(50% 0.082 213.2)
XYZxyz(9.8444, 13.0705, 22.0786)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F7F #7F2616
analogous
#167F5B #166F7F #163B7F
triadic
#166F7F #7F166F #6F7F16
tetradic
#166F7F #5B167F #7F2616 #3B7F16
square
#166F7F #5B167F #7F2616 #3B7F16
split-complementary
#166F7F #7F163B #7F5B16
monochromatic
#05171A #0D414B #166F7F #1F9DB3 #34C2DC

Accessibility & contrast

On white

5.81
#166F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#166F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F7F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F7F#FFFFFF#000000##FFFFFF
##166F7F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#007574
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #166f7f;
/* rgb */ color: rgb(22, 111, 127);
/* oklch */ color: oklch(50.0% 0.082 213.2);
Tailwind
colors: {
  custom: {
    50: '#6898a4',
    500: '#166f7f',
    950: '#000000',
  },
}
SCSS
$custom: #166f7f;
$custom-light: #6898a4;
$custom-dark: #000000;
JSON
{
  "hex": "#166f7f",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 127
  },
  "hsl": {
    "h": 189.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.0815,
    "h": 213.2
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#166F7F
secondary
#B44F3D
accent
#563BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #166F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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