#187A7E#187A7E

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

Color values

HEX#187A7E
RGBrgb(24, 122, 126)
HSLhsl(182, 68%, 29%)
HSVhsv(182, 81%, 49%)
CMYKcmyk(81%, 3.2%, 0%, 50.6%)
CIE-LABlab(46.47, -24.86, -9.94)
CIE-LCHlch(46.47, 26.78, 201.80°)
OKLaboklab(52.91% -0.0794 -0.0276)
OKLCHoklch(52.91% 0.084 199.2)
XYZxyz(11.1004, 15.6182, 22.1642)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A7E #7E1C18
analogous
#187E4F #187A7E #18477E
triadic
#187A7E #7E187A #7A7E18
tetradic
#187A7E #4F187E #7E1C18 #477E18
square
#187A7E #4F187E #7E1C18 #477E18
split-complementary
#187A7E #7E1847 #7E4F18
monochromatic
#05191A #0E484B #187A7E #22ACB1 #37D3D9

Accessibility & contrast

On white

5.09
#187A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187A7E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A7E#FFFFFF#000000##FFFFFF
##187A7E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747E
Deuteranopia (green-blind)
#626A7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187a7e;
/* rgb */ color: rgb(24, 122, 126);
/* oklch */ color: oklch(52.9% 0.084 199.2);
Tailwind
colors: {
  custom: {
    50: '#6aa1a3',
    500: '#187a7e',
    950: '#000000',
  },
}
SCSS
$custom: #187a7e;
$custom-light: #6aa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#187a7e",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 126
  },
  "hsl": {
    "h": 182.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.08404,
    "h": 199.2
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#187A7E
secondary
#B2443F
accent
#443DEB
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070F0F
muted
#7A7E7F

Preview Lab

Preview with #187A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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