#166171#166171

#166171 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.6% C 0.074 H 215.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#166171
RGBrgb(22, 97, 113)
HSLhsl(191, 67%, 26%)
HSVhsv(191, 81%, 44%)
CMYKcmyk(80.5%, 14.2%, 0%, 55.7%)
CIE-LABlab(37.68, -16.13, -15.42)
CIE-LCHlch(37.68, 22.31, 223.71°)
OKLaboklab(45.64% -0.0596 -0.043)
OKLCHoklch(45.64% 0.074 215.8)
XYZxyz(7.5849, 9.9113, 17.1329)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166171 #712616
analogous
#167154 #166171 #163471
triadic
#166171 #711661 #617116
tetradic
#166171 #541671 #712616 #347116
square
#166171 #541671 #712616 #347116
split-complementary
#166171 #711634 #715416
monochromatic
#05161A #0C353E #166171 #208DA4 #2CB8D6

Accessibility & contrast

On white

7.04
#166171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#166171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166171
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166171#FFFFFF#000000##FFFFFF
##1661711.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#006766
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166171;
/* rgb */ color: rgb(22, 97, 113);
/* oklch */ color: oklch(45.6% 0.074 215.8);
Tailwind
colors: {
  custom: {
    50: '#648e99',
    500: '#166171',
    950: '#000000',
  },
}
SCSS
$custom: #166171;
$custom-light: #648e99;
$custom-dark: #000000;
JSON
{
  "hex": "#166171",
  "rgb": {
    "r": 22,
    "g": 97,
    "b": 113
  },
  "hsl": {
    "h": 190.549,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45636,
    "c": 0.07356,
    "h": 215.8
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#166171
secondary
#A74F3C
accent
#5C3EEA
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #166171

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

Preview Lab → · Contrast checker → · Palette generator →

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