#187A87#187A87

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

Color values

HEX#187A87
RGBrgb(24, 122, 135)
HSLhsl(187, 70%, 31%)
HSVhsv(187, 82%, 53%)
CMYKcmyk(82.2%, 9.6%, 0%, 47.1%)
CIE-LABlab(46.79, -21.88, -14.79)
CIE-LCHlch(46.79, 26.41, 214.07°)
OKLaboklab(53.28% -0.0753 -0.0412)
OKLCHoklch(53.28% 0.086 208.7)
XYZxyz(11.7075, 15.8611, 25.3614)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A87 #872518
analogous
#18875C #187A87 #184287
triadic
#187A87 #87187A #7A8718
tetradic
#187A87 #5C1887 #872518 #428718
square
#187A87 #5C1887 #872518 #428718
split-complementary
#187A87 #871842 #875C18
monochromatic
#061C1F #0F4B53 #187A87 #21A9BB #3DCADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A87#FFFFFF#000000##FFFFFF
##187A871.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)
#6E7588
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187a87;
/* rgb */ color: rgb(24, 122, 135);
/* oklch */ color: oklch(53.3% 0.086 208.7);
Tailwind
colors: {
  custom: {
    50: '#6ba0aa',
    500: '#187a87',
    950: '#000000',
  },
}
SCSS
$custom: #187a87;
$custom-light: #6ba0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#187a87",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 187.027,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.0858,
    "h": 208.7
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#187A87
secondary
#BB4E40
accent
#503BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F10
muted
#7A7E7F

Preview Lab

Preview with #187A87

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

Preview Lab → · Contrast checker → · Palette generator →

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