#1A7871#1A7871

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

Color values

HEX#1A7871
RGBrgb(26, 120, 113)
HSLhsl(176, 64%, 29%)
HSVhsv(176, 78%, 47%)
CMYKcmyk(78.3%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.42, -27.74, -3.77)
CIE-LCHlch(45.42, 28.00, 187.74°)
OKLaboklab(51.93% -0.0828 -0.0107)
OKLCHoklch(51.93% 0.083 187.3)
XYZxyz(10.1217, 14.8436, 17.9512)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7871 #781A21
analogous
#1A7842 #1A7871 #1A5078
triadic
#1A7871 #711A78 #78711A
tetradic
#1A7871 #421A78 #781A21 #50781A
square
#1A7871 #421A78 #781A21 #50781A
split-complementary
#1A7871 #781A50 #78421A
monochromatic
#051918 #0F4642 #1A7871 #25AAA0 #38D4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7871#FFFFFF#000000##FFFFFF
##1A78711.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)
#717171
Deuteranopia (green-blind)
#646872
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7871;
/* rgb */ color: rgb(26, 120, 113);
/* oklch */ color: oklch(51.9% 0.083 187.3);
Tailwind
colors: {
  custom: {
    50: '#689f99',
    500: '#1a7871',
    950: '#000000',
  },
}
SCSS
$custom: #1a7871;
$custom-light: #689f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7871",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.532,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.08347,
    "h": 187.3
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#1A7871
secondary
#AC4149
accent
#404DE7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1A7871

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

Preview Lab → · Contrast checker → · Palette generator →

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