#1B787C#1B787C

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

Color values

HEX#1B787C
RGBrgb(27, 120, 124)
HSLhsl(182, 64%, 30%)
HSVhsv(182, 78%, 49%)
CMYKcmyk(78.2%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.80, -24.16, -9.76)
CIE-LCHlch(45.80, 26.05, 202.00°)
OKLaboklab(52.36% -0.0771 -0.0271)
OKLCHoklch(52.36% 0.082 199.4)
XYZxyz(10.8049, 15.1199, 21.4138)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787C #7C1F1B
analogous
#1B7C50 #1B787C #1B487C
triadic
#1B787C #7C1B78 #787C1B
tetradic
#1B787C #501B7C #7C1F1B #487C1B
square
#1B787C #501B7C #7C1F1B #487C1B
split-complementary
#1B787C #7C1B48 #7C501B
monochromatic
#051819 #10474A #1B787C #26A9AE #3DCED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B787C#FFFFFF#000000##FFFFFF
##1B787C1.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: #1b787c;
/* rgb */ color: rgb(27, 120, 124);
/* oklch */ color: oklch(52.4% 0.082 199.4);
Tailwind
colors: {
  custom: {
    50: '#6a9fa1',
    500: '#1b787c',
    950: '#000000',
  },
}
SCSS
$custom: #1b787c;
$custom-light: #6a9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787c",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.474,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.08177,
    "h": 199.4
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#1B787C
secondary
#B04743
accent
#4741E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #1B787C

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

Preview Lab → · Contrast checker → · Palette generator →

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