#1B7987#1B7987

#1B7987 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.085 H 210.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1B7987
RGBrgb(27, 121, 135)
HSLhsl(188, 67%, 32%)
HSVhsv(188, 80%, 53%)
CMYKcmyk(80%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.52, -21.03, -15.20)
CIE-LCHlch(46.52, 25.95, 215.86°)
OKLaboklab(53.07% -0.0732 -0.0423)
OKLCHoklch(53.07% 0.085 210.1)
XYZxyz(11.6606, 15.6556, 25.3242)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7987 #87291B
analogous
#1B875F #1B7987 #1B4387
triadic
#1B7987 #871B79 #79871B
tetradic
#1B7987 #5F1B87 #87291B #43871B
square
#1B7987 #5F1B87 #87291B #43871B
split-complementary
#1B7987 #871B43 #875F1B
monochromatic
#071E21 #114B54 #1B7987 #25A7BA #43C6D9

Accessibility & contrast

On white

5.08
#1B7987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1B7987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7987
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7987#FFFFFF#000000##FFFFFF
##1B79871.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7488
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7987;
/* rgb */ color: rgb(27, 121, 135);
/* oklch */ color: oklch(53.1% 0.085 210.1);
Tailwind
colors: {
  custom: {
    50: '#6ba0aa',
    500: '#1b7987',
    950: '#000000',
  },
}
SCSS
$custom: #1b7987;
$custom-light: #6ba0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7987",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 187.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.08456,
    "h": 210.1
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#1B7987
secondary
#BA5344
accent
#543EEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B7987

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

Preview Lab → · Contrast checker → · Palette generator →

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