#187D8E#187D8E

#187D8E is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.4% C 0.089 H 212.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#187D8E
RGBrgb(24, 125, 142)
HSLhsl(189, 71%, 33%)
HSVhsv(189, 83%, 56%)
CMYKcmyk(83.1%, 12%, 0%, 44.3%)
CIE-LABlab(48.02, -21.08, -17.05)
CIE-LCHlch(48.02, 27.11, 218.97°)
OKLaboklab(54.36% -0.0752 -0.0476)
OKLCHoklch(54.36% 0.089 212.3)
XYZxyz(12.5907, 16.8128, 28.1676)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D8E #8E2918
analogous
#188E64 #187D8E #18428E
triadic
#187D8E #8E187D #7D8E18
tetradic
#187D8E #64188E #8E2918 #428E18
square
#187D8E #64188E #8E2918 #428E18
split-complementary
#187D8E #8E1842 #8E6418
monochromatic
#062125 #0F4F5A #187D8E #21ABC2 #41C8DF

Accessibility & contrast

On white

4.81
#187D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#187D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D8E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D8E#FFFFFF#000000##FFFFFF
##187D8E1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788F
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187d8e;
/* rgb */ color: rgb(24, 125, 142);
/* oklch */ color: oklch(54.4% 0.089 212.3);
Tailwind
colors: {
  custom: {
    50: '#6ca3af',
    500: '#187d8e',
    950: '#000000',
  },
}
SCSS
$custom: #187d8e;
$custom-light: #6ca3af;
$custom-dark: #000000;
JSON
{
  "hex": "#187d8e",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 188.644,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.08901,
    "h": 212.3
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#187D8E
secondary
#C05442
accent
#543AEE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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