#166A8E#166A8E

#166A8E is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.4% C 0.094 H 232.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#166A8E
RGBrgb(22, 106, 142)
HSLhsl(198, 73%, 32%)
HSVhsv(198, 85%, 56%)
CMYKcmyk(84.5%, 25.4%, 0%, 44.3%)
CIE-LABlab(41.89, -10.65, -26.51)
CIE-LCHlch(41.89, 28.57, 248.11°)
OKLaboklab(49.43% -0.0571 -0.0748)
OKLCHoklch(49.43% 0.094 232.7)
XYZxyz(10.3654, 12.4303, 27.4389)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A8E #8E3A16
analogous
#168E76 #166A8E #162E8E
triadic
#166A8E #8E166A #6A8E16
tetradic
#166A8E #76168E #8E3A16 #2E8E16
square
#166A8E #76168E #8E3A16 #2E8E16
split-complementary
#166A8E #8E162E #8E7616
monochromatic
#061B24 #0E4259 #166A8E #1E92C3 #3DB0E1

Accessibility & contrast

On white

6.02
#166A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#166A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A8E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A8E#FFFFFF#000000##FFFFFF
##166A8E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#485E8D
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #166a8e;
/* rgb */ color: rgb(22, 106, 142);
/* oklch */ color: oklch(49.4% 0.094 232.7);
Tailwind
colors: {
  custom: {
    50: '#6a94af',
    500: '#166a8e',
    950: '#000000',
  },
}
SCSS
$custom: #166a8e;
$custom-light: #6a94af;
$custom-dark: #000000;
JSON
{
  "hex": "#166a8e",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 142
  },
  "hsl": {
    "h": 198,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.09409,
    "h": 232.7
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#166A8E
secondary
#C1663F
accent
#6F38F0
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #166A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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