#1B7787#1B7787

#1B7787 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.6% C 0.084 H 212.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1B7787
RGBrgb(27, 119, 135)
HSLhsl(189, 67%, 32%)
HSVhsv(189, 80%, 53%)
CMYKcmyk(80%, 11.9%, 0%, 47.1%)
CIE-LABlab(45.87, -19.97, -16.19)
CIE-LCHlch(45.87, 25.70, 219.04°)
OKLaboklab(52.55% -0.0711 -0.0451)
OKLCHoklch(52.55% 0.084 212.4)
XYZxyz(11.4201, 15.1745, 25.2441)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7787 #872B1B
analogous
#1B8761 #1B7787 #1B4187
triadic
#1B7787 #871B77 #77871B
tetradic
#1B7787 #611B87 #872B1B #41871B
square
#1B7787 #611B87 #872B1B #41871B
split-complementary
#1B7787 #871B41 #87611B
monochromatic
#071D21 #114A54 #1B7787 #25A4BA #43C3D9

Accessibility & contrast

On white

5.20
#1B7787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1B7787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7787
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7787#FFFFFF#000000##FFFFFF
##1B77871.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7787;
/* rgb */ color: rgb(27, 119, 135);
/* oklch */ color: oklch(52.6% 0.084 212.4);
Tailwind
colors: {
  custom: {
    50: '#6b9eaa',
    500: '#1b7787',
    950: '#000000',
  },
}
SCSS
$custom: #1b7787;
$custom-light: #6b9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7787",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 188.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.08424,
    "h": 212.4
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#1B7787
secondary
#BA5544
accent
#583EEA
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #1B7787

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

Preview Lab → · Contrast checker → · Palette generator →

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