#1B787B#1B787B

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

Color values

HEX#1B787B
RGBrgb(27, 120, 123)
HSLhsl(182, 64%, 29%)
HSVhsv(182, 78%, 48%)
CMYKcmyk(78%, 2.4%, 0%, 51.8%)
CIE-LABlab(45.76, -24.48, -9.22)
CIE-LCHlch(45.76, 26.16, 200.63°)
OKLaboklab(52.32% -0.0776 -0.0256)
OKLCHoklch(52.32% 0.082 198.3)
XYZxyz(10.7420, 15.0947, 21.0825)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787B #7B1E1B
analogous
#1B7B4E #1B787B #1B487B
triadic
#1B787B #7B1B78 #787B1B
tetradic
#1B787B #4E1B7B #7B1E1B #487B1B
square
#1B787B #4E1B7B #7B1E1B #487B1B
split-complementary
#1B787B #7B1B48 #7B4E1B
monochromatic
#061819 #104749 #1B787B #26A9AD #3CCFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B787B#FFFFFF#000000##FFFFFF
##1B787B1.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)
#6F727B
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b787b;
/* rgb */ color: rgb(27, 120, 123);
/* oklch */ color: oklch(52.3% 0.082 198.3);
Tailwind
colors: {
  custom: {
    50: '#6a9fa1',
    500: '#1b787b',
    950: '#000000',
  },
}
SCSS
$custom: #1b787b;
$custom-light: #6a9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787b",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 181.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.08173,
    "h": 198.3
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#1B787B
secondary
#AF4643
accent
#4641E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B787B

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

Preview Lab → · Contrast checker → · Palette generator →

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