#187E8F#187E8F

#187E8F is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.7% C 0.090 H 212.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#187E8F
RGBrgb(24, 126, 143)
HSLhsl(189, 71%, 33%)
HSVhsv(189, 83%, 56%)
CMYKcmyk(83.2%, 11.9%, 0%, 43.9%)
CIE-LABlab(48.38, -21.27, -17.09)
CIE-LCHlch(48.38, 27.28, 218.78°)
OKLaboklab(54.67% -0.0758 -0.0477)
OKLCHoklch(54.67% 0.09 212.2)
XYZxyz(12.7933, 17.0975, 28.6071)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E8F #8F2918
analogous
#188F64 #187E8F #18438F
triadic
#187E8F #8F187E #7E8F18
tetradic
#187E8F #64188F #8F2918 #438F18
square
#187E8F #64188F #8F2918 #438F18
split-complementary
#187E8F #8F1843 #8F6418
monochromatic
#062226 #0F505B #187E8F #21ACC3 #42C9DF

Accessibility & contrast

On white

4.75
#187E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#187E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E8F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E8F#FFFFFF#000000##FFFFFF
##187E8F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717990
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #187e8f;
/* rgb */ color: rgb(24, 126, 143);
/* oklch */ color: oklch(54.7% 0.090 212.2);
Tailwind
colors: {
  custom: {
    50: '#6ca3af',
    500: '#187e8f',
    950: '#000000',
  },
}
SCSS
$custom: #187e8f;
$custom-light: #6ca3af;
$custom-dark: #000000;
JSON
{
  "hex": "#187e8f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 143
  },
  "hsl": {
    "h": 188.571,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.08955,
    "h": 212.2
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#187E8F
secondary
#C05543
accent
#543AEE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #187E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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