#166878#166878

#166878 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.078 H 214.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#166878
RGBrgb(22, 104, 120)
HSLhsl(190, 69%, 28%)
HSVhsv(190, 82%, 47%)
CMYKcmyk(81.7%, 13.3%, 0%, 52.9%)
CIE-LABlab(40.29, -17.55, -15.71)
CIE-LCHlch(40.29, 23.56, 221.83°)
OKLaboklab(47.83% -0.064 -0.0438)
OKLCHoklch(47.83% 0.078 214.4)
XYZxyz(8.6699, 11.4262, 19.5142)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166878 #782616
analogous
#167857 #166878 #163778
triadic
#166878 #781668 #687816
tetradic
#166878 #571678 #782616 #377816
square
#166878 #571678 #782616 #377816
split-complementary
#166878 #781637 #785716
monochromatic
#05161A #0D3B44 #166878 #1F95AC #2FBDD9

Accessibility & contrast

On white

6.39
#166878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#166878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166878
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166878#FFFFFF#000000##FFFFFF
##1668781.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6479
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166878;
/* rgb */ color: rgb(22, 104, 120);
/* oklch */ color: oklch(47.8% 0.078 214.4);
Tailwind
colors: {
  custom: {
    50: '#66939f',
    500: '#166878',
    950: '#000000',
  },
}
SCSS
$custom: #166878;
$custom-light: #66939f;
$custom-dark: #000000;
JSON
{
  "hex": "#166878",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 120
  },
  "hsl": {
    "h": 189.796,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.07756,
    "h": 214.4
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#166878
secondary
#AD4F3C
accent
#593CEC
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #166878

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

Preview Lab → · Contrast checker → · Palette generator →

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