#1B7871#1B7871

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

Color values

HEX#1B7871
RGBrgb(27, 120, 113)
HSLhsl(175, 63%, 29%)
HSVhsv(175, 78%, 47%)
CMYKcmyk(77.5%, 0%, 5.8%, 52.9%)
CIE-LABlab(45.44, -27.62, -3.74)
CIE-LCHlch(45.44, 27.87, 187.72°)
OKLaboklab(51.95% -0.0824 -0.0106)
OKLCHoklch(51.95% 0.083 187.3)
XYZxyz(10.1477, 14.8570, 17.9524)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7871 #781B22
analogous
#1B7843 #1B7871 #1B5178
triadic
#1B7871 #711B78 #78711B
tetradic
#1B7871 #431B78 #781B22 #51781B
square
#1B7871 #431B78 #781B22 #51781B
split-complementary
#1B7871 #781B51 #78431B
monochromatic
#061918 #104642 #1B7871 #26AAA0 #3BD3C7

Accessibility & contrast

On white

5.29
#1B7871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1B7871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7871
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7871#FFFFFF#000000##FFFFFF
##1B78711.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7871;
/* rgb */ color: rgb(27, 120, 113);
/* oklch */ color: oklch(51.9% 0.083 187.3);
Tailwind
colors: {
  custom: {
    50: '#699f99',
    500: '#1b7871',
    950: '#000000',
  },
}
SCSS
$custom: #1b7871;
$custom-light: #699f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7871",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 175.484,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.0831,
    "h": 187.3
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#1B7871
secondary
#AC434A
accent
#414EE6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1B7871

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

Preview Lab → · Contrast checker → · Palette generator →

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