#187E8B#187E8B

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

Color values

HEX#187E8B
RGBrgb(24, 126, 139)
HSLhsl(187, 71%, 32%)
HSVhsv(187, 83%, 55%)
CMYKcmyk(82.7%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.23, -22.63, -14.97)
CIE-LCHlch(48.23, 27.13, 213.48°)
OKLaboklab(54.49% -0.0775 -0.0417)
OKLCHoklch(54.49% 0.088 208.3)
XYZxyz(12.4957, 16.9784, 27.0397)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E8B #8B2518
analogous
#188B5F #187E8B #18448B
triadic
#187E8B #8B187E #7E8B18
tetradic
#187E8B #5F188B #8B2518 #448B18
square
#187E8B #5F188B #8B2518 #448B18
split-complementary
#187E8B #8B1844 #8B5F18
monochromatic
#061F23 #0F4F57 #187E8B #21ADBF #3FCCDE

Accessibility & contrast

On white

4.78
#187E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187E8B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E8B#FFFFFF#000000##FFFFFF
##187E8B1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #187e8b;
/* rgb */ color: rgb(24, 126, 139);
/* oklch */ color: oklch(54.5% 0.088 208.3);
Tailwind
colors: {
  custom: {
    50: '#6ca3ac',
    500: '#187e8b',
    950: '#000000',
  },
}
SCSS
$custom: #187e8b;
$custom-light: #6ca3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187e8b",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 186.783,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.08805,
    "h": 208.3
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#187E8B
secondary
#BE4F40
accent
#4F3AED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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