#1B7870#1B7870

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

Color values

HEX#1B7870
RGBrgb(27, 120, 112)
HSLhsl(175, 63%, 29%)
HSVhsv(175, 78%, 47%)
CMYKcmyk(77.5%, 0%, 6.7%, 52.9%)
CIE-LABlab(45.41, -27.92, -3.19)
CIE-LCHlch(45.41, 28.10, 186.52°)
OKLaboklab(51.91% -0.0829 -0.0091)
OKLCHoklch(51.91% 0.083 186.3)
XYZxyz(10.0917, 14.8346, 17.6576)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7870 #781B23
analogous
#1B7842 #1B7870 #1B5278
triadic
#1B7870 #701B78 #78701B
tetradic
#1B7870 #421B78 #781B23 #52781B
square
#1B7870 #421B78 #781B23 #52781B
split-complementary
#1B7870 #781B52 #78421B
monochromatic
#061917 #104641 #1B7870 #26AA9F #3BD3C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7870#FFFFFF#000000##FFFFFF
##1B78701.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)
#717170
Deuteranopia (green-blind)
#646871
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7870;
/* rgb */ color: rgb(27, 120, 112);
/* oklch */ color: oklch(51.9% 0.083 186.3);
Tailwind
colors: {
  custom: {
    50: '#699f99',
    500: '#1b7870',
    950: '#000000',
  },
}
SCSS
$custom: #1b7870;
$custom-light: #699f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7870",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 112
  },
  "hsl": {
    "h": 174.839,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.08341,
    "h": 186.3
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#1B7870
secondary
#AC434C
accent
#4150E6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #1B7870

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

Preview Lab → · Contrast checker → · Palette generator →

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