#187E8D#187E8D

#187E8D is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.089 H 210.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#187E8D
RGBrgb(24, 126, 141)
HSLhsl(188, 71%, 32%)
HSVhsv(188, 83%, 55%)
CMYKcmyk(83%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.31, -21.95, -16.03)
CIE-LCHlch(48.31, 27.18, 216.14°)
OKLaboklab(54.58% -0.0767 -0.0447)
OKLCHoklch(54.58% 0.089 210.2)
XYZxyz(12.6431, 17.0374, 27.8163)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E8D #8D2718
analogous
#188D61 #187E8D #18448D
triadic
#187E8D #8D187E #7E8D18
tetradic
#187E8D #61188D #8D2718 #448D18
square
#187E8D #61188D #8D2718 #448D18
split-complementary
#187E8D #8D1844 #8D6118
monochromatic
#062124 #0F4F59 #187E8D #21ADC1 #41CADF

Accessibility & contrast

On white

4.76
#187E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#187E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E8D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E8D#FFFFFF#000000##FFFFFF
##187E8D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187e8d;
/* rgb */ color: rgb(24, 126, 141);
/* oklch */ color: oklch(54.6% 0.089 210.2);
Tailwind
colors: {
  custom: {
    50: '#6ca3ae',
    500: '#187e8d',
    950: '#000000',
  },
}
SCSS
$custom: #187e8d;
$custom-light: #6ca3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#187e8d",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 187.692,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.08874,
    "h": 210.2
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#187E8D
secondary
#BF5242
accent
#513AEE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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