#166A7F#166A7F

#166A7F is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.7% C 0.082 H 219.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#166A7F
RGBrgb(22, 106, 127)
HSLhsl(192, 70%, 29%)
HSVhsv(192, 83%, 50%)
CMYKcmyk(82.7%, 16.5%, 0%, 50.2%)
CIE-LABlab(41.23, -16.17, -18.51)
CIE-LCHlch(41.23, 24.58, 228.86°)
OKLaboklab(48.68% -0.063 -0.0518)
OKLCHoklch(48.68% 0.082 219.4)
XYZxyz(9.3141, 12.0098, 21.9018)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A7F #7F2B16
analogous
#167F60 #166A7F #16367F
triadic
#166A7F #7F166A #6A7F16
tetradic
#166A7F #60167F #7F2B16 #367F16
square
#166A7F #60167F #7F2B16 #367F16
split-complementary
#166A7F #7F1636 #7F6016
monochromatic
#05161A #0D3E4B #166A7F #1F96B3 #34BADC

Accessibility & contrast

On white

6.17
#166A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#166A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A7F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A7F#FFFFFF#000000##FFFFFF
##166A7F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#007171
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #166a7f;
/* rgb */ color: rgb(22, 106, 127);
/* oklch */ color: oklch(48.7% 0.082 219.4);
Tailwind
colors: {
  custom: {
    50: '#6794a4',
    500: '#166a7f',
    950: '#000000',
  },
}
SCSS
$custom: #166a7f;
$custom-light: #6794a4;
$custom-dark: #000000;
JSON
{
  "hex": "#166a7f",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 127
  },
  "hsl": {
    "h": 192,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.08158,
    "h": 219.4
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#166A7F
secondary
#B4553D
accent
#5E3BED
background
#F6F9FA
surface
#EBF1F4
border
#C6CBCE
text
#070D0F
muted
#7A7E7F

Preview Lab

Preview with #166A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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