#1B787E#1B787E

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

Color values

HEX#1B787E
RGBrgb(27, 120, 126)
HSLhsl(184, 65%, 30%)
HSVhsv(184, 79%, 49%)
CMYKcmyk(78.6%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.87, -23.51, -10.85)
CIE-LCHlch(45.87, 25.89, 204.77°)
OKLaboklab(52.44% -0.0762 -0.0301)
OKLCHoklch(52.44% 0.082 201.6)
XYZxyz(10.9327, 15.1710, 22.0867)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787E #7E211B
analogous
#1B7E52 #1B787E #1B477E
triadic
#1B787E #7E1B78 #787E1B
tetradic
#1B787E #521B7E #7E211B #477E1B
square
#1B787E #521B7E #7E211B #477E1B
split-complementary
#1B787E #7E1B47 #7E521B
monochromatic
#051819 #10484C #1B787E #26A8B0 #3ECCD6

Accessibility & contrast

On white

5.21
#1B787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1B787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B787E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B787E#FFFFFF#000000##FFFFFF
##1B787E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b787e;
/* rgb */ color: rgb(27, 120, 126);
/* oklch */ color: oklch(52.4% 0.082 201.6);
Tailwind
colors: {
  custom: {
    50: '#6a9fa3',
    500: '#1b787e',
    950: '#000000',
  },
}
SCSS
$custom: #1b787e;
$custom-light: #6a9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787e",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.08195,
    "h": 201.6
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#1B787E
secondary
#B24A43
accent
#4A40E8
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1B787E

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

Preview Lab → · Contrast checker → · Palette generator →

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