#187B7E#187B7E

#187B7E is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.2% C 0.085 H 198.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187B7E
RGBrgb(24, 123, 126)
HSLhsl(182, 68%, 29%)
HSVhsv(182, 81%, 49%)
CMYKcmyk(81%, 2.4%, 0%, 50.6%)
CIE-LABlab(46.80, -25.37, -9.45)
CIE-LCHlch(46.80, 27.08, 200.43°)
OKLaboklab(53.18% -0.0804 -0.0263)
OKLCHoklch(53.18% 0.085 198.1)
XYZxyz(11.2238, 15.8651, 22.2053)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B7E #7E1B18
analogous
#187E4E #187B7E #18487E
triadic
#187B7E #7E187B #7B7E18
tetradic
#187B7E #4E187E #7E1B18 #487E18
square
#187B7E #4E187E #7E1B18 #487E18
split-complementary
#187B7E #7E1848 #7E4E18
monochromatic
#05191A #0E494B #187B7E #22ADB1 #37D4D9

Accessibility & contrast

On white

5.03
#187B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#187B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B7E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B7E#FFFFFF#000000##FFFFFF
##187B7E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757E
Deuteranopia (green-blind)
#646B7F
Tritanopia (blue-blind)
#00807C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187b7e;
/* rgb */ color: rgb(24, 123, 126);
/* oklch */ color: oklch(53.2% 0.085 198.1);
Tailwind
colors: {
  custom: {
    50: '#6aa1a3',
    500: '#187b7e',
    950: '#000000',
  },
}
SCSS
$custom: #187b7e;
$custom-light: #6aa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187b7e",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 126
  },
  "hsl": {
    "h": 181.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.08459,
    "h": 198.1
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#187B7E
secondary
#B2433F
accent
#423DEB
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070F0F
muted
#7A7E7F

Preview Lab

Preview with #187B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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