#166F7B#166F7B

#166F7B is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.8% C 0.080 H 208.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#166F7B
RGBrgb(22, 111, 123)
HSLhsl(187, 70%, 28%)
HSVhsv(187, 82%, 48%)
CMYKcmyk(82.1%, 9.8%, 0%, 51.8%)
CIE-LABlab(42.72, -20.32, -13.83)
CIE-LCHlch(42.72, 24.58, 214.23°)
OKLaboklab(49.83% -0.07 -0.0385)
OKLCHoklch(49.83% 0.08 208.8)
XYZxyz(9.5889, 12.9683, 20.7328)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F7B #7B2216
analogous
#167B54 #166F7B #163C7B
triadic
#166F7B #7B166F #6F7B16
tetradic
#166F7B #54167B #7B2216 #3C7B16
square
#166F7B #54167B #7B2216 #3C7B16
split-complementary
#166F7B #7B163C #7B5416
monochromatic
#05171A #0D4047 #166F7B #1F9EAF #31C6DA

Accessibility & contrast

On white

5.84
#166F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#166F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F7B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F7B#FFFFFF#000000##FFFFFF
##166F7B1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#007573
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #166f7b;
/* rgb */ color: rgb(22, 111, 123);
/* oklch */ color: oklch(49.8% 0.080 208.8);
Tailwind
colors: {
  custom: {
    50: '#6798a1',
    500: '#166f7b',
    950: '#000000',
  },
}
SCSS
$custom: #166f7b;
$custom-light: #6798a1;
$custom-dark: #000000;
JSON
{
  "hex": "#166f7b",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 123
  },
  "hsl": {
    "h": 187.129,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.07986,
    "h": 208.8
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#166F7B
secondary
#B04A3D
accent
#503BEC
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #166F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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