#1B787A#1B787A

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

Color values

HEX#1B787A
RGBrgb(27, 120, 122)
HSLhsl(181, 64%, 29%)
HSVhsv(181, 78%, 48%)
CMYKcmyk(77.9%, 1.6%, 0%, 52.2%)
CIE-LABlab(45.73, -24.80, -8.67)
CIE-LCHlch(45.73, 26.27, 199.27°)
OKLaboklab(52.28% -0.0781 -0.0241)
OKLCHoklch(52.28% 0.082 197.2)
XYZxyz(10.6797, 15.0698, 20.7545)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787A #7A1D1B
analogous
#1B7A4D #1B787A #1B497A
triadic
#1B787A #7A1B78 #787A1B
tetradic
#1B787A #4D1B7A #7A1D1B #497A1B
square
#1B787A #4D1B7A #7A1D1B #497A1B
split-complementary
#1B787A #7A1B49 #7A4D1B
monochromatic
#061919 #104748 #1B787A #26A9AC #3CD1D4

Accessibility & contrast

On white

5.23
#1B787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B787A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B787A#FFFFFF#000000##FFFFFF
##1B787A1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727A
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b787a;
/* rgb */ color: rgb(27, 120, 122);
/* oklch */ color: oklch(52.3% 0.082 197.2);
Tailwind
colors: {
  custom: {
    50: '#6a9fa0',
    500: '#1b787a',
    950: '#000000',
  },
}
SCSS
$custom: #1b787a;
$custom-light: #6a9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787a",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52281,
    "c": 0.08171,
    "h": 197.2
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#1B787A
secondary
#AE4543
accent
#4541E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B787A

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

Preview Lab → · Contrast checker → · Palette generator →

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