#187986#187986

#187986 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.085 H 208.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#187986
RGBrgb(24, 121, 134)
HSLhsl(187, 70%, 31%)
HSVhsv(187, 82%, 53%)
CMYKcmyk(82.1%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.43, -21.69, -14.75)
CIE-LCHlch(46.43, 26.23, 214.22°)
OKLaboklab(52.98% -0.0747 -0.0411)
OKLCHoklch(52.98% 0.085 208.8)
XYZxyz(11.5152, 15.5887, 24.9516)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187986 #862518
analogous
#18865C #187986 #184286
triadic
#187986 #861879 #798618
tetradic
#187986 #5C1886 #862518 #428618
square
#187986 #5C1886 #862518 #428618
split-complementary
#187986 #861842 #865C18
monochromatic
#051B1E #0F4A52 #187986 #21A8BA #3CC9DC

Accessibility & contrast

On white

5.10
#187986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#187986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187986
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187986#FFFFFF#000000##FFFFFF
##1879861.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7487
Deuteranopia (green-blind)
#5F6986
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187986;
/* rgb */ color: rgb(24, 121, 134);
/* oklch */ color: oklch(53.0% 0.085 208.8);
Tailwind
colors: {
  custom: {
    50: '#6ba0a9',
    500: '#187986',
    950: '#000000',
  },
}
SCSS
$custom: #187986;
$custom-light: #6ba0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#187986",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 187.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.08524,
    "h": 208.8
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#187986
secondary
#BA4E40
accent
#503BEC
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #187986

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

Preview Lab → · Contrast checker → · Palette generator →

#187986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva