#187C8E#187C8E

#187C8E is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.089 H 213.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#187C8E
RGBrgb(24, 124, 142)
HSLhsl(189, 71%, 33%)
HSVhsv(189, 83%, 56%)
CMYKcmyk(83.1%, 12.7%, 0%, 44.3%)
CIE-LABlab(47.70, -20.55, -17.54)
CIE-LCHlch(47.70, 27.02, 220.49°)
OKLaboklab(54.1% -0.0742 -0.049)
OKLCHoklch(54.1% 0.089 213.4)
XYZxyz(12.4647, 16.5609, 28.1256)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C8E #8E2A18
analogous
#188E65 #187C8E #18418E
triadic
#187C8E #8E187C #7C8E18
tetradic
#187C8E #65188E #8E2A18 #418E18
square
#187C8E #65188E #8E2A18 #418E18
split-complementary
#187C8E #8E1841 #8E6518
monochromatic
#062125 #0F4E5A #187C8E #21AAC2 #41C7DF

Accessibility & contrast

On white

4.87
#187C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#187C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C8E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C8E#FFFFFF#000000##FFFFFF
##187C8E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788F
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #187c8e;
/* rgb */ color: rgb(24, 124, 142);
/* oklch */ color: oklch(54.1% 0.089 213.4);
Tailwind
colors: {
  custom: {
    50: '#6ca2af',
    500: '#187c8e',
    950: '#000000',
  },
}
SCSS
$custom: #187c8e;
$custom-light: #6ca2af;
$custom-dark: #000000;
JSON
{
  "hex": "#187c8e",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 189.153,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.08892,
    "h": 213.4
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#187C8E
secondary
#C05542
accent
#553AEE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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