#1B7887#1B7887

#1B7887 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.084 H 211.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1B7887
RGBrgb(27, 120, 135)
HSLhsl(188, 67%, 32%)
HSVhsv(188, 80%, 53%)
CMYKcmyk(80%, 11.1%, 0%, 47.1%)
CIE-LABlab(46.20, -20.50, -15.70)
CIE-LCHlch(46.20, 25.82, 217.44°)
OKLaboklab(52.81% -0.0722 -0.0437)
OKLCHoklch(52.81% 0.084 211.2)
XYZxyz(11.5397, 15.4138, 25.2839)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7887 #872A1B
analogous
#1B8760 #1B7887 #1B4287
triadic
#1B7887 #871B78 #78871B
tetradic
#1B7887 #601B87 #872A1B #42871B
square
#1B7887 #601B87 #872A1B #42871B
split-complementary
#1B7887 #871B42 #87601B
monochromatic
#071D21 #114B54 #1B7887 #25A5BA #43C5D9

Accessibility & contrast

On white

5.14
#1B7887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1B7887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7887
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7887#FFFFFF#000000##FFFFFF
##1B78871.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7388
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7887;
/* rgb */ color: rgb(27, 120, 135);
/* oklch */ color: oklch(52.8% 0.084 211.2);
Tailwind
colors: {
  custom: {
    50: '#6b9faa',
    500: '#1b7887',
    950: '#000000',
  },
}
SCSS
$custom: #1b7887;
$custom-light: #6b9faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7887",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 135
  },
  "hsl": {
    "h": 188.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.08438,
    "h": 211.2
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#1B7887
secondary
#BA5444
accent
#563EEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1B7887

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

Preview Lab → · Contrast checker → · Palette generator →

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