#1A7872#1A7872

#1A7872 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.083 H 188.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1A7872
RGBrgb(26, 120, 114)
HSLhsl(176, 64%, 29%)
HSVhsv(176, 78%, 47%)
CMYKcmyk(78.3%, 0%, 5%, 52.9%)
CIE-LABlab(45.45, -27.44, -4.32)
CIE-LCHlch(45.45, 27.77, 188.95°)
OKLaboklab(51.96% -0.0823 -0.0122)
OKLCHoklch(51.96% 0.083 188.4)
XYZxyz(10.1783, 14.8662, 18.2494)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7872 #781A20
analogous
#1A7843 #1A7872 #1A4F78
triadic
#1A7872 #721A78 #78721A
tetradic
#1A7872 #431A78 #781A20 #4F781A
square
#1A7872 #431A78 #781A20 #4F781A
split-complementary
#1A7872 #781A4F #78431A
monochromatic
#051918 #0F4642 #1A7872 #25AAA2 #38D4CA

Accessibility & contrast

On white

5.29
#1A7872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1A7872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7872
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7872#FFFFFF#000000##FFFFFF
##1A78721.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#646873
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7872;
/* rgb */ color: rgb(26, 120, 114);
/* oklch */ color: oklch(52.0% 0.083 188.4);
Tailwind
colors: {
  custom: {
    50: '#689f9a',
    500: '#1a7872',
    950: '#000000',
  },
}
SCSS
$custom: #1a7872;
$custom-light: #689f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7872",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 176.17,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.08319,
    "h": 188.4
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#1A7872
secondary
#AC4148
accent
#404BE7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1A7872

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

Preview Lab → · Contrast checker → · Palette generator →

#1A7872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva