#187C8B#187C8B

#187C8B is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.0% C 0.088 H 210.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#187C8B
RGBrgb(24, 124, 139)
HSLhsl(188, 71%, 32%)
HSVhsv(188, 83%, 55%)
CMYKcmyk(82.7%, 10.8%, 0%, 45.5%)
CIE-LABlab(47.59, -21.57, -15.95)
CIE-LCHlch(47.59, 26.83, 216.47°)
OKLaboklab(53.97% -0.0755 -0.0445)
OKLCHoklch(53.97% 0.088 210.5)
XYZxyz(12.2425, 16.4720, 26.9553)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C8B #8B2718
analogous
#188B61 #187C8B #18438B
triadic
#187C8B #8B187C #7C8B18
tetradic
#187C8B #61188B #8B2718 #438B18
square
#187C8B #61188B #8B2718 #438B18
split-complementary
#187C8B #8B1843 #8B6118
monochromatic
#061F23 #0F4D57 #187C8B #21ABBF #3FC9DE

Accessibility & contrast

On white

4.89
#187C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#187C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C8B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C8B#FFFFFF#000000##FFFFFF
##187C8B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778C
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187c8b;
/* rgb */ color: rgb(24, 124, 139);
/* oklch */ color: oklch(54.0% 0.088 210.5);
Tailwind
colors: {
  custom: {
    50: '#6ca2ac',
    500: '#187c8b',
    950: '#000000',
  },
}
SCSS
$custom: #187c8b;
$custom-light: #6ca2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187c8b",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 187.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.08764,
    "h": 210.5
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#187C8B
secondary
#BE5140
accent
#523AED
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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