#1B7873#1B7873

#1B7873 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.083 H 189.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1B7873
RGBrgb(27, 120, 115)
HSLhsl(177, 63%, 29%)
HSVhsv(177, 78%, 47%)
CMYKcmyk(77.5%, 0%, 4.2%, 52.9%)
CIE-LABlab(45.50, -27.01, -4.84)
CIE-LCHlch(45.50, 27.44, 190.16°)
OKLaboklab(52.02% -0.0814 -0.0136)
OKLCHoklch(52.02% 0.083 189.5)
XYZxyz(10.2615, 14.9025, 18.5520)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7873 #781B20
analogous
#1B7845 #1B7873 #1B4F78
triadic
#1B7873 #731B78 #78731B
tetradic
#1B7873 #451B78 #781B20 #4F781B
square
#1B7873 #451B78 #781B20 #4F781B
split-complementary
#1B7873 #781B4F #78451B
monochromatic
#061918 #104643 #1B7873 #26AAA3 #3BD3CB

Accessibility & contrast

On white

5.28
#1B7873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1B7873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7873
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7873#FFFFFF#000000##FFFFFF
##1B78731.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717173
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7873;
/* rgb */ color: rgb(27, 120, 115);
/* oklch */ color: oklch(52.0% 0.083 189.5);
Tailwind
colors: {
  custom: {
    50: '#699f9b',
    500: '#1b7873',
    950: '#000000',
  },
}
SCSS
$custom: #1b7873;
$custom-light: #699f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7873",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 115
  },
  "hsl": {
    "h": 176.774,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.08256,
    "h": 189.5
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#1B7873
secondary
#AC4348
accent
#414AE6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B7873

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

Preview Lab → · Contrast checker → · Palette generator →

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