#1A787F#1A787F

#1A787F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.082 H 202.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1A787F
RGBrgb(26, 120, 127)
HSLhsl(184, 66%, 30%)
HSVhsv(184, 80%, 50%)
CMYKcmyk(79.5%, 5.5%, 0%, 50.2%)
CIE-LABlab(45.88, -23.29, -11.42)
CIE-LCHlch(45.88, 25.94, 206.11°)
OKLaboklab(52.46% -0.0761 -0.0317)
OKLCHoklch(52.46% 0.082 202.6)
XYZxyz(10.9715, 15.1835, 22.4270)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A787F #7F211A
analogous
#1A7F53 #1A787F #1A467F
triadic
#1A787F #7F1A78 #787F1A
tetradic
#1A787F #531A7F #7F211A #467F1A
square
#1A787F #531A7F #7F211A #467F1A
split-complementary
#1A787F #7F1A46 #7F531A
monochromatic
#051819 #10484C #1A787F #24A8B2 #3CCCD7

Accessibility & contrast

On white

5.20
#1A787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1A787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A787F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A787F#FFFFFF#000000##FFFFFF
##1A787F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a787f;
/* rgb */ color: rgb(26, 120, 127);
/* oklch */ color: oklch(52.5% 0.082 202.6);
Tailwind
colors: {
  custom: {
    50: '#6a9fa4',
    500: '#1a787f',
    950: '#000000',
  },
}
SCSS
$custom: #1a787f;
$custom-light: #6a9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a787f",
  "rgb": {
    "r": 26,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.158,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.08247,
    "h": 202.6
  },
  "luminance": 0.15185
}

Semantic roles & 50–950 ramp

primary
#1A787F
secondary
#B34A42
accent
#4B3FE9
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1A787F

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

Preview Lab → · Contrast checker → · Palette generator →

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