#187A8B#187A8B

#187A8B is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.087 H 212.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#187A8B
RGBrgb(24, 122, 139)
HSLhsl(189, 71%, 32%)
HSVhsv(189, 83%, 55%)
CMYKcmyk(82.7%, 12.2%, 0%, 45.5%)
CIE-LABlab(46.94, -20.51, -16.93)
CIE-LCHlch(46.94, 26.60, 219.54°)
OKLaboklab(53.45% -0.0735 -0.0472)
OKLCHoklch(53.45% 0.087 212.7)
XYZxyz(11.9944, 15.9758, 26.8726)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A8B #8B2918
analogous
#188B63 #187A8B #18408B
triadic
#187A8B #8B187A #7A8B18
tetradic
#187A8B #63188B #8B2918 #408B18
square
#187A8B #63188B #8B2918 #408B18
split-complementary
#187A8B #8B1840 #8B6318
monochromatic
#061E23 #0F4C57 #187A8B #21A8BF #3FC7DE

Accessibility & contrast

On white

5.01
#187A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#187A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A8B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A8B#FFFFFF#000000##FFFFFF
##187A8B1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768C
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187a8b;
/* rgb */ color: rgb(24, 122, 139);
/* oklch */ color: oklch(53.5% 0.087 212.7);
Tailwind
colors: {
  custom: {
    50: '#6ba0ad',
    500: '#187a8b',
    950: '#000000',
  },
}
SCSS
$custom: #187a8b;
$custom-light: #6ba0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#187a8b",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 139
  },
  "hsl": {
    "h": 188.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.08737,
    "h": 212.7
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#187A8B
secondary
#BE5340
accent
#553AED
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #187A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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