#1B787F#1B787F

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

Color values

HEX#1B787F
RGBrgb(27, 120, 127)
HSLhsl(184, 65%, 30%)
HSVhsv(184, 79%, 50%)
CMYKcmyk(78.7%, 5.5%, 0%, 50.2%)
CIE-LABlab(45.90, -23.18, -11.39)
CIE-LCHlch(45.90, 25.82, 206.16°)
OKLaboklab(52.48% -0.0757 -0.0316)
OKLCHoklch(52.48% 0.082 202.7)
XYZxyz(10.9975, 15.1969, 22.4282)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787F #7F221B
analogous
#1B7F54 #1B787F #1B467F
triadic
#1B787F #7F1B78 #787F1B
tetradic
#1B787F #541B7F #7F221B #467F1B
square
#1B787F #541B7F #7F221B #467F1B
split-complementary
#1B787F #7F1B46 #7F541B
monochromatic
#06191A #10484D #1B787F #26A8B1 #3ECBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B787F#FFFFFF#000000##FFFFFF
##1B787F1.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: #1b787f;
/* rgb */ color: rgb(27, 120, 127);
/* oklch */ color: oklch(52.5% 0.082 202.7);
Tailwind
colors: {
  custom: {
    50: '#6a9fa4',
    500: '#1b787f',
    950: '#000000',
  },
}
SCSS
$custom: #1b787f;
$custom-light: #6a9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787f",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.0821,
    "h": 202.7
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#1B787F
secondary
#B34B43
accent
#4C40E8
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1B787F

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

Preview Lab → · Contrast checker → · Palette generator →

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