#187E8A#187E8A

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

Color values

HEX#187E8A
RGBrgb(24, 126, 138)
HSLhsl(186, 70%, 32%)
HSVhsv(186, 83%, 54%)
CMYKcmyk(82.6%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.20, -22.96, -14.43)
CIE-LCHlch(48.20, 27.12, 212.15°)
OKLaboklab(54.45% -0.078 -0.0402)
OKLCHoklch(54.45% 0.088 207.3)
XYZxyz(12.4230, 16.9493, 26.6566)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E8A #8A2418
analogous
#188A5D #187E8A #18458A
triadic
#187E8A #8A187E #7E8A18
tetradic
#187E8A #5D188A #8A2418 #458A18
square
#187E8A #5D188A #8A2418 #458A18
split-complementary
#187E8A #8A1845 #8A5D18
monochromatic
#061F22 #0F4E56 #187E8A #21AEBE #3FCDDE

Accessibility & contrast

On white

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

On black

4.39
#187E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187E8A#FFFFFF#000000##FFFFFF
##187E8A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187e8a;
/* rgb */ color: rgb(24, 126, 138);
/* oklch */ color: oklch(54.5% 0.088 207.3);
Tailwind
colors: {
  custom: {
    50: '#6ca3ac',
    500: '#187e8a',
    950: '#000000',
  },
}
SCSS
$custom: #187e8a;
$custom-light: #6ca3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187e8a",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 186.316,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.08774,
    "h": 207.3
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#187E8A
secondary
#BD4E40
accent
#4D3BED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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