#166271#166271

#166271 is a mid, moderate teal. Relative luminance 0.101; OKLCH L 45.9% C 0.074 H 214.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#166271
RGBrgb(22, 98, 113)
HSLhsl(190, 67%, 26%)
HSVhsv(190, 81%, 44%)
CMYKcmyk(80.5%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.02, -16.69, -14.91)
CIE-LCHlch(38.02, 22.38, 221.77°)
OKLaboklab(45.9% -0.0607 -0.0416)
OKLCHoklch(45.9% 0.074 214.4)
XYZxyz(7.6779, 10.0973, 17.1639)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166271 #712516
analogous
#167153 #166271 #163571
triadic
#166271 #711662 #627116
tetradic
#166271 #531671 #712516 #357116
square
#166271 #531671 #712516 #357116
split-complementary
#166271 #711635 #715316
monochromatic
#05161A #0C363E #166271 #208EA4 #2CBAD6

Accessibility & contrast

On white

6.95
#166271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#166271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166271
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166271#FFFFFF#000000##FFFFFF
##1662711.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F72
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#006867
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166271;
/* rgb */ color: rgb(22, 98, 113);
/* oklch */ color: oklch(45.9% 0.074 214.4);
Tailwind
colors: {
  custom: {
    50: '#648f99',
    500: '#166271',
    950: '#000000',
  },
}
SCSS
$custom: #166271;
$custom-light: #648f99;
$custom-dark: #000000;
JSON
{
  "hex": "#166271",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 189.89,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.0736,
    "h": 214.4
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#166271
secondary
#A74E3C
accent
#5A3EEA
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#060C0E
muted
#7A7D7E

Preview Lab

Preview with #166271

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

Preview Lab → · Contrast checker → · Palette generator →

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