#166A8A#166A8A

#166A8A is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.2% C 0.090 H 229.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#166A8A
RGBrgb(22, 106, 138)
HSLhsl(197, 73%, 31%)
HSVhsv(197, 84%, 54%)
CMYKcmyk(84.1%, 23.2%, 0%, 45.9%)
CIE-LABlab(41.71, -12.15, -24.40)
CIE-LCHlch(41.71, 27.26, 243.54°)
OKLaboklab(49.22% -0.0586 -0.0687)
OKLCHoklch(49.22% 0.09 229.5)
XYZxyz(10.0705, 12.3124, 25.8856)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A8A #8A3616
analogous
#168A70 #166A8A #16308A
triadic
#166A8A #8A166A #6A8A16
tetradic
#166A8A #70168A #8A3616 #308A16
square
#166A8A #70168A #8A3616 #308A16
split-complementary
#166A8A #8A1630 #8A7016
monochromatic
#051920 #0E4155 #166A8A #1E93BF #3BB2E0

Accessibility & contrast

On white

6.06
#166A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#166A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A8A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A8A#FFFFFF#000000##FFFFFF
##166A8A1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#007375
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #166a8a;
/* rgb */ color: rgb(22, 106, 138);
/* oklch */ color: oklch(49.2% 0.090 229.5);
Tailwind
colors: {
  custom: {
    50: '#6994ac',
    500: '#166a8a',
    950: '#000000',
  },
}
SCSS
$custom: #166a8a;
$custom-light: #6994ac;
$custom-dark: #000000;
JSON
{
  "hex": "#166a8a",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 196.552,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.09029,
    "h": 229.5
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#166A8A
secondary
#BE613E
accent
#6B39EF
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#070D10
muted
#7A7E7F

Preview Lab

Preview with #166A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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