#1B787D#1B787D

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

Color values

HEX#1B787D
RGBrgb(27, 120, 125)
HSLhsl(183, 64%, 30%)
HSVhsv(183, 78%, 49%)
CMYKcmyk(78.4%, 4%, 0%, 51%)
CIE-LABlab(45.83, -23.83, -10.30)
CIE-LCHlch(45.83, 25.96, 203.38°)
OKLaboklab(52.4% -0.0767 -0.0286)
OKLCHoklch(52.4% 0.082 200.5)
XYZxyz(10.8685, 15.1453, 21.7486)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B787D #7D201B
analogous
#1B7D51 #1B787D #1B477D
triadic
#1B787D #7D1B78 #787D1B
tetradic
#1B787D #511B7D #7D201B #477D1B
square
#1B787D #511B7D #7D201B #477D1B
split-complementary
#1B787D #7D1B47 #7D511B
monochromatic
#051819 #10484B #1B787D #26A8AF #3DCDD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B787D#FFFFFF#000000##FFFFFF
##1B787D1.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)
#6E727D
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b787d;
/* rgb */ color: rgb(27, 120, 125);
/* oklch */ color: oklch(52.4% 0.082 200.5);
Tailwind
colors: {
  custom: {
    50: '#6a9fa2',
    500: '#1b787d',
    950: '#000000',
  },
}
SCSS
$custom: #1b787d;
$custom-light: #6a9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b787d",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.061,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.08184,
    "h": 200.5
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#1B787D
secondary
#B14843
accent
#4940E7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #1B787D

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

Preview Lab → · Contrast checker → · Palette generator →

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