#187A7D#187A7D

#187A7D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.084 H 198.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#187A7D
RGBrgb(24, 122, 125)
HSLhsl(182, 68%, 29%)
HSVhsv(182, 81%, 49%)
CMYKcmyk(80.8%, 2.4%, 0%, 51%)
CIE-LABlab(46.44, -25.19, -9.40)
CIE-LCHlch(46.44, 26.89, 200.47°)
OKLaboklab(52.87% -0.0798 -0.0261)
OKLCHoklch(52.87% 0.084 198.1)
XYZxyz(11.0362, 15.5925, 21.8261)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A7D #7D1B18
analogous
#187D4E #187A7D #18487D
triadic
#187A7D #7D187A #7A7D18
tetradic
#187A7D #4E187D #7D1B18 #487D18
square
#187A7D #4E187D #7D1B18 #487D18
split-complementary
#187A7D #7D1848 #7D4E18
monochromatic
#05191A #0E484A #187A7D #22ACB0 #37D4D9

Accessibility & contrast

On white

5.10
#187A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#187A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187A7D#FFFFFF#000000##FFFFFF
##187A7D1.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)
#71747D
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187a7d;
/* rgb */ color: rgb(24, 122, 125);
/* oklch */ color: oklch(52.9% 0.084 198.1);
Tailwind
colors: {
  custom: {
    50: '#69a1a2',
    500: '#187a7d',
    950: '#000000',
  },
}
SCSS
$custom: #187a7d;
$custom-light: #69a1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#187a7d",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 125
  },
  "hsl": {
    "h": 181.782,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.084,
    "h": 198.1
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#187A7D
secondary
#B2433F
accent
#423DEB
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0F
muted
#7A7E7E

Preview Lab

Preview with #187A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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