#166D8E#166D8E

#166D8E is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.2% C 0.093 H 229.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#166D8E
RGBrgb(22, 109, 142)
HSLhsl(197, 73%, 32%)
HSVhsv(197, 85%, 56%)
CMYKcmyk(84.5%, 23.2%, 0%, 44.3%)
CIE-LABlab(42.85, -12.40, -25.02)
CIE-LCHlch(42.85, 27.92, 243.64°)
OKLaboklab(50.2% -0.06 -0.0704)
OKLCHoklch(50.2% 0.093 229.6)
XYZxyz(10.6800, 13.0595, 27.5438)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D8E #8E3716
analogous
#168E73 #166D8E #16318E
triadic
#166D8E #8E166D #6D8E16
tetradic
#166D8E #73168E #8E3716 #318E16
square
#166D8E #73168E #8E3716 #318E16
split-complementary
#166D8E #8E1631 #8E7316
monochromatic
#061C24 #0E4459 #166D8E #1E96C3 #3DB4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166D8E#FFFFFF#000000##FFFFFF
##166D8E1.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)
#5C6B90
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #166d8e;
/* rgb */ color: rgb(22, 109, 142);
/* oklch */ color: oklch(50.2% 0.093 229.6);
Tailwind
colors: {
  custom: {
    50: '#6a96af',
    500: '#166d8e',
    950: '#000000',
  },
}
SCSS
$custom: #166d8e;
$custom-light: #6a96af;
$custom-dark: #000000;
JSON
{
  "hex": "#166d8e",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 142
  },
  "hsl": {
    "h": 196.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.09254,
    "h": 229.6
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#166D8E
secondary
#C1633F
accent
#6B38F0
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #166D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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