#187C7E#187C7E

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

Color values

HEX#187C7E
RGBrgb(24, 124, 126)
HSLhsl(181, 68%, 29%)
HSVhsv(181, 81%, 49%)
CMYKcmyk(81%, 1.6%, 0%, 50.6%)
CIE-LABlab(47.12, -25.88, -8.96)
CIE-LCHlch(47.12, 27.39, 199.10°)
OKLaboklab(53.44% -0.0814 -0.0249)
OKLCHoklch(53.44% 0.085 197)
XYZxyz(11.3485, 16.1144, 22.2469)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C7E #7E1A18
analogous
#187E4D #187C7E #18497E
triadic
#187C7E #7E187C #7C7E18
tetradic
#187C7E #4D187E #7E1A18 #497E18
square
#187C7E #4D187E #7E1A18 #497E18
split-complementary
#187C7E #7E1849 #7E4D18
monochromatic
#05191A #0E494B #187C7E #22AFB1 #37D6D9

Accessibility & contrast

On white

4.97
#187C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187C7E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C7E#FFFFFF#000000##FFFFFF
##187C7E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73767E
Deuteranopia (green-blind)
#656B7F
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187c7e;
/* rgb */ color: rgb(24, 124, 126);
/* oklch */ color: oklch(53.4% 0.085 197.0);
Tailwind
colors: {
  custom: {
    50: '#6aa2a3',
    500: '#187c7e',
    950: '#000000',
  },
}
SCSS
$custom: #187c7e;
$custom-light: #6aa2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187c7e",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 126
  },
  "hsl": {
    "h": 181.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.08517,
    "h": 197
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#187C7E
secondary
#B2423F
accent
#403DEB
background
#F6FAFA
surface
#ECF3F3
border
#C7CDCD
text
#080F0F
muted
#7A7F7F

Preview Lab

Preview with #187C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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