#187F8A#187F8A

#187F8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.088 H 206.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#187F8A
RGBrgb(24, 127, 138)
HSLhsl(186, 70%, 32%)
HSVhsv(186, 83%, 54%)
CMYKcmyk(82.6%, 8%, 0%, 45.9%)
CIE-LABlab(48.52, -23.48, -13.94)
CIE-LCHlch(48.52, 27.31, 210.70°)
OKLaboklab(54.71% -0.079 -0.0388)
OKLCHoklch(54.71% 0.088 206.2)
XYZxyz(12.5515, 17.2063, 26.6995)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F8A #8A2318
analogous
#188A5C #187F8A #18468A
triadic
#187F8A #8A187F #7F8A18
tetradic
#187F8A #5C188A #8A2318 #468A18
square
#187F8A #5C188A #8A2318 #468A18
split-complementary
#187F8A #8A1846 #8A5C18
monochromatic
#061F22 #0F4F56 #187F8A #21AFBE #3FCEDE

Accessibility & contrast

On white

4.73
#187F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#187F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F8A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F8A#FFFFFF#000000##FFFFFF
##187F8A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187f8a;
/* rgb */ color: rgb(24, 127, 138);
/* oklch */ color: oklch(54.7% 0.088 206.2);
Tailwind
colors: {
  custom: {
    50: '#6ca4ac',
    500: '#187f8a',
    950: '#000000',
  },
}
SCSS
$custom: #187f8a;
$custom-light: #6ca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187f8a",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 185.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.08803,
    "h": 206.2
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#187F8A
secondary
#BD4C40
accent
#4C3BED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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