#1A7870#1A7870

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

Color values

HEX#1A7870
RGBrgb(26, 120, 112)
HSLhsl(175, 64%, 29%)
HSVhsv(175, 78%, 47%)
CMYKcmyk(78.3%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.39, -28.05, -3.22)
CIE-LCHlch(45.39, 28.23, 186.55°)
OKLaboklab(51.89% -0.0833 -0.0092)
OKLCHoklch(51.89% 0.084 186.3)
XYZxyz(10.0657, 14.8212, 17.6564)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7870 #781A22
analogous
#1A7841 #1A7870 #1A5178
triadic
#1A7870 #701A78 #78701A
tetradic
#1A7870 #411A78 #781A22 #51781A
square
#1A7870 #411A78 #781A22 #51781A
split-complementary
#1A7870 #781A51 #78411A
monochromatic
#051917 #0F4641 #1A7870 #25AA9F #38D4C7

Accessibility & contrast

On white

5.30
#1A7870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1A7870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7870
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7870#FFFFFF#000000##FFFFFF
##1A78701.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717170
Deuteranopia (green-blind)
#646771
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7870;
/* rgb */ color: rgb(26, 120, 112);
/* oklch */ color: oklch(51.9% 0.084 186.3);
Tailwind
colors: {
  custom: {
    50: '#689f99',
    500: '#1a7870',
    950: '#000000',
  },
}
SCSS
$custom: #1a7870;
$custom-light: #689f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7870",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 174.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.08378,
    "h": 186.3
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#1A7870
secondary
#AC414A
accent
#404FE7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1A7870

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

Preview Lab → · Contrast checker → · Palette generator →

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