#187F8F#187F8F

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

Color values

HEX#187F8F
RGBrgb(24, 127, 143)
HSLhsl(188, 71%, 33%)
HSVhsv(188, 83%, 56%)
CMYKcmyk(83.2%, 11.2%, 0%, 43.9%)
CIE-LABlab(48.70, -21.80, -16.60)
CIE-LCHlch(48.70, 27.40, 217.29°)
OKLaboklab(54.92% -0.0768 -0.0463)
OKLCHoklch(54.92% 0.09 211.1)
XYZxyz(12.9218, 17.3545, 28.6500)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F8F #8F2818
analogous
#188F63 #187F8F #18448F
triadic
#187F8F #8F187F #7F8F18
tetradic
#187F8F #63188F #8F2818 #448F18
square
#187F8F #63188F #8F2818 #448F18
split-complementary
#187F8F #8F1844 #8F6318
monochromatic
#062226 #0F505B #187F8F #21AEC3 #42CADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F8F#FFFFFF#000000##FFFFFF
##187F8F1.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)
#727A90
Deuteranopia (green-blind)
#626F8F
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #187f8f;
/* rgb */ color: rgb(24, 127, 143);
/* oklch */ color: oklch(54.9% 0.090 211.1);
Tailwind
colors: {
  custom: {
    50: '#6da4af',
    500: '#187f8f',
    950: '#000000',
  },
}
SCSS
$custom: #187f8f;
$custom-light: #6da4af;
$custom-dark: #000000;
JSON
{
  "hex": "#187f8f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 143
  },
  "hsl": {
    "h": 188.067,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.08968,
    "h": 211.1
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#187F8F
secondary
#C05443
accent
#523AEE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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