#187C7D#187C7D

#187C7D is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.4% C 0.085 H 196.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#187C7D
RGBrgb(24, 124, 125)
HSLhsl(181, 68%, 29%)
HSVhsv(181, 81%, 49%)
CMYKcmyk(80.8%, 0.8%, 0%, 51%)
CIE-LABlab(47.09, -26.20, -8.42)
CIE-LCHlch(47.09, 27.52, 197.82°)
OKLaboklab(53.41% -0.0819 -0.0234)
OKLCHoklch(53.41% 0.085 196)
XYZxyz(11.2843, 16.0888, 21.9088)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C7D #7D1918
analogous
#187D4C #187C7D #184A7D
triadic
#187C7D #7D187C #7C7D18
tetradic
#187C7D #4C187D #7D1918 #4A7D18
square
#187C7D #4C187D #7D1918 #4A7D18
split-complementary
#187C7D #7D184A #7D4C18
monochromatic
#05191A #0E494A #187C7D #22AFB0 #37D7D9

Accessibility & contrast

On white

4.98
#187C7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#187C7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C7D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C7D#FFFFFF#000000##FFFFFF
##187C7D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73767D
Deuteranopia (green-blind)
#656B7E
Tritanopia (blue-blind)
#00807C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187c7d;
/* rgb */ color: rgb(24, 124, 125);
/* oklch */ color: oklch(53.4% 0.085 196.0);
Tailwind
colors: {
  custom: {
    50: '#6aa2a2',
    500: '#187c7d',
    950: '#000000',
  },
}
SCSS
$custom: #187c7d;
$custom-light: #6aa2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#187c7d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 125
  },
  "hsl": {
    "h": 180.594,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.08519,
    "h": 196
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#187C7D
secondary
#B2403F
accent
#3F3DEB
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0F
muted
#7A7F7E

Preview Lab

Preview with #187C7D

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

Preview Lab → · Contrast checker → · Palette generator →

#187C7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva