#187F8E#187F8E

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

Color values

HEX#187F8E
RGBrgb(24, 127, 142)
HSLhsl(188, 71%, 33%)
HSVhsv(188, 83%, 56%)
CMYKcmyk(83.1%, 10.6%, 0%, 44.3%)
CIE-LABlab(48.67, -22.14, -16.07)
CIE-LCHlch(48.67, 27.36, 215.98°)
OKLaboklab(54.88% -0.0772 -0.0448)
OKLCHoklch(54.88% 0.089 210.1)
XYZxyz(12.8464, 17.3243, 28.2528)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F8E #8E2718
analogous
#188E62 #187F8E #18448E
triadic
#187F8E #8E187F #7F8E18
tetradic
#187F8E #62188E #8E2718 #448E18
square
#187F8E #62188E #8E2718 #448E18
split-complementary
#187F8E #8E1844 #8E6218
monochromatic
#062125 #0F505A #187F8E #21AEC2 #41CBDF

Accessibility & contrast

On white

4.70
#187F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#187F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F8E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F8E#FFFFFF#000000##FFFFFF
##187F8E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8F
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #187f8e;
/* rgb */ color: rgb(24, 127, 142);
/* oklch */ color: oklch(54.9% 0.089 210.1);
Tailwind
colors: {
  custom: {
    50: '#6ca4af',
    500: '#187f8e',
    950: '#000000',
  },
}
SCSS
$custom: #187f8e;
$custom-light: #6ca4af;
$custom-dark: #000000;
JSON
{
  "hex": "#187f8e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 187.627,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.08929,
    "h": 210.1
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#187F8E
secondary
#C05242
accent
#513AEE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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