#187B87#187B87

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

Color values

HEX#187B87
RGBrgb(24, 123, 135)
HSLhsl(186, 70%, 31%)
HSVhsv(186, 82%, 53%)
CMYKcmyk(82.2%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.12, -22.40, -14.30)
CIE-LCHlch(47.12, 26.58, 212.56°)
OKLaboklab(53.54% -0.0763 -0.0398)
OKLCHoklch(53.54% 0.086 207.6)
XYZxyz(11.8309, 16.1079, 25.4026)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B87 #872418
analogous
#18875B #187B87 #184387
triadic
#187B87 #87187B #7B8718
tetradic
#187B87 #5B1887 #872418 #438718
square
#187B87 #5B1887 #872418 #438718
split-complementary
#187B87 #871843 #875B18
monochromatic
#061C1F #0F4C53 #187B87 #21AABB #3DCBDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B87#FFFFFF#000000##FFFFFF
##187B871.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)
#6F7688
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187b87;
/* rgb */ color: rgb(24, 123, 135);
/* oklch */ color: oklch(53.5% 0.086 207.6);
Tailwind
colors: {
  custom: {
    50: '#6ba1aa',
    500: '#187b87',
    950: '#000000',
  },
}
SCSS
$custom: #187b87;
$custom-light: #6ba1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#187b87",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 186.486,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.08605,
    "h": 207.6
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#187B87
secondary
#BB4D40
accent
#4E3BED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #187B87

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

Preview Lab → · Contrast checker → · Palette generator →

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