#177F8B#177F8B

#177F8B is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.089 H 207.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#177F8B
RGBrgb(23, 127, 139)
HSLhsl(186, 72%, 32%)
HSVhsv(186, 83%, 55%)
CMYKcmyk(83.5%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.54, -23.24, -14.50)
CIE-LCHlch(48.54, 27.39, 211.96°)
OKLaboklab(54.74% -0.0789 -0.0404)
OKLCHoklch(54.74% 0.089 207.1)
XYZxyz(12.6008, 17.2234, 27.0814)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F8B #8B2317
analogous
#178B5D #177F8B #17458B
triadic
#177F8B #8B177F #7F8B17
tetradic
#177F8B #5D178B #8B2317 #458B17
square
#177F8B #5D178B #8B2317 #458B17
split-complementary
#177F8B #8B1745 #8B5D17
monochromatic
#061F22 #0E4F56 #177F8B #20AFC0 #3DCEDF

Accessibility & contrast

On white

4.72
#177F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#177F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F8B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F8B#FFFFFF#000000##FFFFFF
##177F8B1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8C
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #177f8b;
/* rgb */ color: rgb(23, 127, 139);
/* oklch */ color: oklch(54.7% 0.089 207.1);
Tailwind
colors: {
  custom: {
    50: '#6ca4ac',
    500: '#177f8b',
    950: '#000000',
  },
}
SCSS
$custom: #177f8b;
$custom-light: #6ca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#177f8b",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 186.207,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.08861,
    "h": 207.1
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#177F8B
secondary
#BF4C3F
accent
#4C39EE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #177F8B

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

Preview Lab → · Contrast checker → · Palette generator →

#177F8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva