#166877#166877

#166877 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.077 H 213.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#166877
RGBrgb(22, 104, 119)
HSLhsl(189, 69%, 28%)
HSVhsv(189, 82%, 47%)
CMYKcmyk(81.5%, 12.6%, 0%, 53.3%)
CIE-LABlab(40.25, -17.90, -15.16)
CIE-LCHlch(40.25, 23.46, 220.26°)
OKLaboklab(47.78% -0.0644 -0.0423)
OKLCHoklch(47.78% 0.077 213.3)
XYZxyz(8.6095, 11.4020, 19.1962)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166877 #772516
analogous
#167755 #166877 #163877
triadic
#166877 #771668 #687716
tetradic
#166877 #551677 #772516 #387716
square
#166877 #551677 #772516 #387716
split-complementary
#166877 #771638 #775516
monochromatic
#05171A #0C3B43 #166877 #2095AB #2FBED9

Accessibility & contrast

On white

6.40
#166877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#166877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166877
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166877#FFFFFF#000000##FFFFFF
##1668771.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6478
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166877;
/* rgb */ color: rgb(22, 104, 119);
/* oklch */ color: oklch(47.8% 0.077 213.3);
Tailwind
colors: {
  custom: {
    50: '#66939e',
    500: '#166877',
    950: '#000000',
  },
}
SCSS
$custom: #166877;
$custom-light: #66939e;
$custom-dark: #000000;
JSON
{
  "hex": "#166877",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 119
  },
  "hsl": {
    "h": 189.278,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47784,
    "c": 0.07707,
    "h": 213.3
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#166877
secondary
#AC4E3C
accent
#573CEC
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #166877

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

Preview Lab → · Contrast checker → · Palette generator →

#166877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva