#1A787C#1A787C

#1A787C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.082 H 199.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1A787C
RGBrgb(26, 120, 124)
HSLhsl(182, 65%, 29%)
HSVhsv(182, 79%, 49%)
CMYKcmyk(79%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.78, -24.27, -9.79)
CIE-LCHlch(45.78, 26.17, 201.96°)
OKLaboklab(52.34% -0.0775 -0.0272)
OKLCHoklch(52.34% 0.082 199.3)
XYZxyz(10.7789, 15.1065, 21.4126)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A787C #7C1E1A
analogous
#1A7C4F #1A787C #1A477C
triadic
#1A787C #7C1A78 #787C1A
tetradic
#1A787C #4F1A7C #7C1E1A #477C1A
square
#1A787C #4F1A7C #7C1E1A #477C1A
split-complementary
#1A787C #7C1A47 #7C4F1A
monochromatic
#051819 #0F4749 #1A787C #25A9AF #3BCFD6

Accessibility & contrast

On white

5.22
#1A787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1A787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A787C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A787C#FFFFFF#000000##FFFFFF
##1A787C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a787c;
/* rgb */ color: rgb(26, 120, 124);
/* oklch */ color: oklch(52.3% 0.082 199.3);
Tailwind
colors: {
  custom: {
    50: '#6a9fa1',
    500: '#1a787c',
    950: '#000000',
  },
}
SCSS
$custom: #1a787c;
$custom-light: #6a9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a787c",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.449,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.08214,
    "h": 199.3
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#1A787C
secondary
#B04642
accent
#4640E8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #1A787C

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

Preview Lab → · Contrast checker → · Palette generator →

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