#187987#187987

#187987 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.086 H 209.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#187987
RGBrgb(24, 121, 135)
HSLhsl(188, 70%, 31%)
HSVhsv(188, 82%, 53%)
CMYKcmyk(82.2%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.47, -21.35, -15.29)
CIE-LCHlch(46.47, 26.26, 215.61°)
OKLaboklab(53.02% -0.0742 -0.0426)
OKLCHoklch(53.02% 0.086 209.8)
XYZxyz(11.5853, 15.6168, 25.3207)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187987 #872618
analogous
#18875D #187987 #184187
triadic
#187987 #871879 #798718
tetradic
#187987 #5D1887 #872618 #418718
square
#187987 #5D1887 #872618 #418718
split-complementary
#187987 #871841 #875D18
monochromatic
#061C1F #0F4A53 #187987 #21A8BB #3DC8DC

Accessibility & contrast

On white

5.09
#187987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#187987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187987
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187987#FFFFFF#000000##FFFFFF
##1879871.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7488
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187987;
/* rgb */ color: rgb(24, 121, 135);
/* oklch */ color: oklch(53.0% 0.086 209.8);
Tailwind
colors: {
  custom: {
    50: '#6ba0aa',
    500: '#187987',
    950: '#000000',
  },
}
SCSS
$custom: #187987;
$custom-light: #6ba0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#187987",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 187.568,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.08559,
    "h": 209.8
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#187987
secondary
#BB5040
accent
#523BED
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #187987

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

Preview Lab → · Contrast checker → · Palette generator →

#187987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva