#187F8C#187F8C

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

Color values

HEX#187F8C
RGBrgb(24, 127, 140)
HSLhsl(187, 71%, 32%)
HSVhsv(187, 83%, 55%)
CMYKcmyk(82.9%, 9.3%, 0%, 45.1%)
CIE-LABlab(48.59, -22.81, -15.01)
CIE-LCHlch(48.59, 27.31, 213.34°)
OKLaboklab(54.8% -0.0781 -0.0418)
OKLCHoklch(54.8% 0.089 208.2)
XYZxyz(12.6976, 17.2648, 27.4691)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F8C #8C2518
analogous
#188C5F #187F8C #18458C
triadic
#187F8C #8C187F #7F8C18
tetradic
#187F8C #5F188C #8C2518 #458C18
square
#187F8C #5F188C #8C2518 #458C18
split-complementary
#187F8C #8C1845 #8C5F18
monochromatic
#062024 #0F5058 #187F8C #21AEC0 #40CDDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F8C#FFFFFF#000000##FFFFFF
##187F8C1.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)
#737A8D
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187f8c;
/* rgb */ color: rgb(24, 127, 140);
/* oklch */ color: oklch(54.8% 0.089 208.2);
Tailwind
colors: {
  custom: {
    50: '#6ca4ad',
    500: '#187f8c',
    950: '#000000',
  },
}
SCSS
$custom: #187f8c;
$custom-light: #6ca4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#187f8c",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 140
  },
  "hsl": {
    "h": 186.724,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.0886,
    "h": 208.2
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#187F8C
secondary
#BF4F41
accent
#4E3AED
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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