#176871#176871

#176871 is a mid, moderate teal. Relative luminance 0.113; OKLCH L 47.5% C 0.074 H 206.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#176871
RGBrgb(23, 104, 113)
HSLhsl(186, 66%, 27%)
HSVhsv(186, 80%, 44%)
CMYKcmyk(79.6%, 8%, 0%, 55.7%)
CIE-LABlab(40.04, -19.87, -11.83)
CIE-LCHlch(40.04, 23.12, 210.77°)
OKLaboklab(47.54% -0.0667 -0.0329)
OKLCHoklch(47.54% 0.074 206.2)
XYZxyz(8.2830, 11.2740, 17.3591)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176871 #712017
analogous
#17714D #176871 #173B71
triadic
#176871 #711768 #687117
tetradic
#176871 #4D1771 #712017 #3B7117
square
#176871 #4D1771 #712017 #3B7117
split-complementary
#176871 #71173B #714D17
monochromatic
#051719 #0D393E #176871 #2197A4 #2EC4D4

Accessibility & contrast

On white

6.45
#176871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#176871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #176871
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176871#FFFFFF#000000##FFFFFF
##1768711.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #176871;
/* rgb */ color: rgb(23, 104, 113);
/* oklch */ color: oklch(47.5% 0.074 206.2);
Tailwind
colors: {
  custom: {
    50: '#659399',
    500: '#176871',
    950: '#000000',
  },
}
SCSS
$custom: #176871;
$custom-light: #659399;
$custom-dark: #000000;
JSON
{
  "hex": "#176871",
  "rgb": {
    "r": 23,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 186,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.07442,
    "h": 206.2
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#176871
secondary
#A7483D
accent
#503FE9
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#060D0E
muted
#7A7E7E

Preview Lab

Preview with #176871

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

Preview Lab → · Contrast checker → · Palette generator →

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