#187C8C#187C8C

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

Color values

HEX#187C8C
RGBrgb(24, 124, 140)
HSLhsl(188, 71%, 32%)
HSVhsv(188, 83%, 55%)
CMYKcmyk(82.9%, 11.4%, 0%, 45.1%)
CIE-LABlab(47.63, -21.23, -16.48)
CIE-LCHlch(47.63, 26.88, 217.82°)
OKLaboklab(54.02% -0.0751 -0.046)
OKLCHoklch(54.02% 0.088 211.5)
XYZxyz(12.3159, 16.5014, 27.3418)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C8C #8C2818
analogous
#188C62 #187C8C #18428C
triadic
#187C8C #8C187C #7C8C18
tetradic
#187C8C #62188C #8C2818 #428C18
square
#187C8C #62188C #8C2818 #428C18
split-complementary
#187C8C #8C1842 #8C6218
monochromatic
#061F24 #0F4E58 #187C8C #21AAC0 #40C8DE

Accessibility & contrast

On white

4.88
#187C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#187C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C8C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C8C#FFFFFF#000000##FFFFFF
##187C8C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778D
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187c8c;
/* rgb */ color: rgb(24, 124, 140);
/* oklch */ color: oklch(54.0% 0.088 211.5);
Tailwind
colors: {
  custom: {
    50: '#6ca2ad',
    500: '#187c8c',
    950: '#000000',
  },
}
SCSS
$custom: #187c8c;
$custom-light: #6ca2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#187c8c",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 188.276,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.08804,
    "h": 211.5
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#187C8C
secondary
#BF5241
accent
#533AED
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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