#187D8C#187D8C

#187D8C is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.088 H 210.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#187D8C
RGBrgb(24, 125, 140)
HSLhsl(188, 71%, 32%)
HSVhsv(188, 83%, 55%)
CMYKcmyk(82.9%, 10.7%, 0%, 45.1%)
CIE-LABlab(47.95, -21.76, -15.99)
CIE-LCHlch(47.95, 27.00, 216.30°)
OKLaboklab(54.28% -0.0761 -0.0446)
OKLCHoklch(54.28% 0.088 210.4)
XYZxyz(12.4419, 16.7533, 27.3838)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D8C #8C2718
analogous
#188C61 #187D8C #18438C
triadic
#187D8C #8C187D #7D8C18
tetradic
#187D8C #61188C #8C2718 #438C18
square
#187D8C #61188C #8C2718 #438C18
split-complementary
#187D8C #8C1843 #8C6118
monochromatic
#062024 #0F4E58 #187D8C #21ACC0 #40CADE

Accessibility & contrast

On white

4.83
#187D8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#187D8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D8C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D8C#FFFFFF#000000##FFFFFF
##187D8C1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187d8c;
/* rgb */ color: rgb(24, 125, 140);
/* oklch */ color: oklch(54.3% 0.088 210.4);
Tailwind
colors: {
  custom: {
    50: '#6ca3ad',
    500: '#187d8c',
    950: '#000000',
  },
}
SCSS
$custom: #187d8c;
$custom-light: #6ca3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#187d8c",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 140
  },
  "hsl": {
    "h": 187.759,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.08819,
    "h": 210.4
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#187D8C
secondary
#BF5141
accent
#513AED
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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