#187E8C#187E8C

#187E8C is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.088 H 209.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#187E8C
RGBrgb(24, 126, 140)
HSLhsl(187, 71%, 32%)
HSVhsv(187, 83%, 55%)
CMYKcmyk(82.9%, 10%, 0%, 45.1%)
CIE-LABlab(48.27, -22.29, -15.50)
CIE-LCHlch(48.27, 27.15, 214.81°)
OKLaboklab(54.54% -0.0771 -0.0432)
OKLCHoklch(54.54% 0.088 209.3)
XYZxyz(12.5691, 17.0078, 27.4262)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E8C #8C2618
analogous
#188C60 #187E8C #18448C
triadic
#187E8C #8C187E #7E8C18
tetradic
#187E8C #60188C #8C2618 #448C18
square
#187E8C #60188C #8C2618 #448C18
split-complementary
#187E8C #8C1844 #8C6018
monochromatic
#062024 #0F4F58 #187E8C #21ADC0 #40CBDE

Accessibility & contrast

On white

4.77
#187E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#187E8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E8C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E8C#FFFFFF#000000##FFFFFF
##187E8C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798D
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187e8c;
/* rgb */ color: rgb(24, 126, 140);
/* oklch */ color: oklch(54.5% 0.088 209.3);
Tailwind
colors: {
  custom: {
    50: '#6ca3ad',
    500: '#187e8c',
    950: '#000000',
  },
}
SCSS
$custom: #187e8c;
$custom-light: #6ca3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#187e8c",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 140
  },
  "hsl": {
    "h": 187.241,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54536,
    "c": 0.08838,
    "h": 209.3
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#187E8C
secondary
#BF5041
accent
#503AED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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