#1B7872#1B7872

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

Color values

HEX#1B7872
RGBrgb(27, 120, 114)
HSLhsl(176, 63%, 29%)
HSVhsv(176, 78%, 47%)
CMYKcmyk(77.5%, 0%, 5%, 52.9%)
CIE-LABlab(45.47, -27.31, -4.29)
CIE-LCHlch(45.47, 27.65, 188.93°)
OKLaboklab(51.98% -0.0819 -0.0121)
OKLCHoklch(51.98% 0.083 188.4)
XYZxyz(10.2043, 14.8796, 18.2506)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7872 #781B21
analogous
#1B7844 #1B7872 #1B5078
triadic
#1B7872 #721B78 #78721B
tetradic
#1B7872 #441B78 #781B21 #50781B
square
#1B7872 #441B78 #781B21 #50781B
split-complementary
#1B7872 #781B50 #78441B
monochromatic
#061918 #104643 #1B7872 #26AAA1 #3BD3C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7872#FFFFFF#000000##FFFFFF
##1B78721.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)
#717172
Deuteranopia (green-blind)
#646873
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7872;
/* rgb */ color: rgb(27, 120, 114);
/* oklch */ color: oklch(52.0% 0.083 188.4);
Tailwind
colors: {
  custom: {
    50: '#699f9a',
    500: '#1b7872',
    950: '#000000',
  },
}
SCSS
$custom: #1b7872;
$custom-light: #699f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7872",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 114
  },
  "hsl": {
    "h": 176.129,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.08282,
    "h": 188.4
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

primary
#1B7872
secondary
#AC4349
accent
#414CE6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B7872

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

Preview Lab → · Contrast checker → · Palette generator →

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