#187F7D#187F7D

#187F7D is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.087 H 192.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#187F7D
RGBrgb(24, 127, 125)
HSLhsl(179, 68%, 30%)
HSVhsv(179, 81%, 50%)
CMYKcmyk(81.1%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.07, -27.69, -6.95)
CIE-LCHlch(48.07, 28.55, 194.09°)
OKLaboklab(54.2% -0.085 -0.0194)
OKLCHoklch(54.2% 0.087 192.8)
XYZxyz(11.6660, 16.8521, 22.0360)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F7D #7F181A
analogous
#187F4A #187F7D #184E7F
triadic
#187F7D #7D187F #7F7D18
tetradic
#187F7D #4A187F #7F181A #4E7F18
square
#187F7D #4A187F #7F181A #4E7F18
split-complementary
#187F7D #7F184E #7F4A18
monochromatic
#051A19 #0E4C4A #187F7D #22B2B0 #38D9D6

Accessibility & contrast

On white

4.80
#187F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#187F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F7D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F7D#FFFFFF#000000##FFFFFF
##187F7D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787D
Deuteranopia (green-blind)
#686E7E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187f7d;
/* rgb */ color: rgb(24, 127, 125);
/* oklch */ color: oklch(54.2% 0.087 192.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a2',
    500: '#187f7d',
    950: '#000000',
  },
}
SCSS
$custom: #187f7d;
$custom-light: #6aa4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#187f7d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.835,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.08721,
    "h": 192.8
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#187F7D
secondary
#B33F42
accent
#3D40EB
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #187F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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