#187B8B#187B8B

#187B8B is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.7% C 0.087 H 211.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#187B8B
RGBrgb(24, 123, 139)
HSLhsl(188, 71%, 32%)
HSVhsv(188, 83%, 55%)
CMYKcmyk(82.7%, 11.5%, 0%, 45.5%)
CIE-LABlab(47.27, -21.04, -16.44)
CIE-LCHlch(47.27, 26.70, 217.99°)
OKLaboklab(53.71% -0.0745 -0.0458)
OKLCHoklch(53.71% 0.087 211.6)
XYZxyz(12.1178, 16.2227, 26.9137)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B8B #8B2818
analogous
#188B62 #187B8B #18428B
triadic
#187B8B #8B187B #7B8B18
tetradic
#187B8B #62188B #8B2818 #428B18
square
#187B8B #62188B #8B2818 #428B18
split-complementary
#187B8B #8B1842 #8B6218
monochromatic
#061F23 #0F4D57 #187B8B #21A9BF #3FC8DE

Accessibility & contrast

On white

4.95
#187B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#187B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B8B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B8B#FFFFFF#000000##FFFFFF
##187B8B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187b8b;
/* rgb */ color: rgb(24, 123, 139);
/* oklch */ color: oklch(53.7% 0.087 211.6);
Tailwind
colors: {
  custom: {
    50: '#6ba1ac',
    500: '#187b8b',
    950: '#000000',
  },
}
SCSS
$custom: #187b8b;
$custom-light: #6ba1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187b8b",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 139
  },
  "hsl": {
    "h": 188.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.08749,
    "h": 211.6
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#187B8B
secondary
#BE5240
accent
#533AED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #187B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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