#187B8A#187B8A

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

Color values

HEX#187B8A
RGBrgb(24, 123, 138)
HSLhsl(188, 70%, 32%)
HSVhsv(188, 83%, 54%)
CMYKcmyk(82.6%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.23, -21.39, -15.91)
CIE-LCHlch(47.23, 26.65, 216.64°)
OKLaboklab(53.67% -0.0749 -0.0443)
OKLCHoklch(53.67% 0.087 210.6)
XYZxyz(12.0451, 16.1936, 26.5307)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B8A #8A2718
analogous
#188A60 #187B8A #18428A
triadic
#187B8A #8A187B #7B8A18
tetradic
#187B8A #60188A #8A2718 #428A18
square
#187B8A #60188A #8A2718 #428A18
split-complementary
#187B8A #8A1842 #8A6018
monochromatic
#061E22 #0F4D56 #187B8A #21A9BE #3FC9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B8A#FFFFFF#000000##FFFFFF
##187B8A1.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)
#6F768B
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #187b8a;
/* rgb */ color: rgb(24, 123, 138);
/* oklch */ color: oklch(53.7% 0.087 210.6);
Tailwind
colors: {
  custom: {
    50: '#6ba1ac',
    500: '#187b8a',
    950: '#000000',
  },
}
SCSS
$custom: #187b8a;
$custom-light: #6ba1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187b8a",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 187.895,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.08708,
    "h": 210.6
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

primary
#187B8A
secondary
#BD5140
accent
#523BED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #187B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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