#187F8B#187F8B

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

Color values

HEX#187F8B
RGBrgb(24, 127, 139)
HSLhsl(186, 71%, 32%)
HSVhsv(186, 83%, 55%)
CMYKcmyk(82.7%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.56, -23.15, -14.48)
CIE-LCHlch(48.56, 27.30, 212.02°)
OKLaboklab(54.76% -0.0786 -0.0403)
OKLCHoklch(54.76% 0.088 207.2)
XYZxyz(12.6242, 17.2354, 27.0825)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F8B #8B2418
analogous
#188B5E #187F8B #18468B
triadic
#187F8B #8B187F #7F8B18
tetradic
#187F8B #5E188B #8B2418 #468B18
square
#187F8B #5E188B #8B2418 #468B18
split-complementary
#187F8B #8B1846 #8B5E18
monochromatic
#062023 #0F4F57 #187F8B #21AFBF #3FCDDE

Accessibility & contrast

On white

4.72
#187F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#187F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F8B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F8B#FFFFFF#000000##FFFFFF
##187F8B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8C
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187f8b;
/* rgb */ color: rgb(24, 127, 139);
/* oklch */ color: oklch(54.8% 0.088 207.2);
Tailwind
colors: {
  custom: {
    50: '#6ca4ac',
    500: '#187f8b',
    950: '#000000',
  },
}
SCSS
$custom: #187f8b;
$custom-light: #6ca4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#187f8b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 186.261,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.0883,
    "h": 207.2
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#187F8B
secondary
#BE4E40
accent
#4D3AED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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