#1B7981#1B7981

#1B7981 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.083 H 203.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1B7981
RGBrgb(27, 121, 129)
HSLhsl(185, 65%, 31%)
HSVhsv(185, 79%, 51%)
CMYKcmyk(79.1%, 6.2%, 0%, 49.4%)
CIE-LABlab(46.30, -23.04, -11.98)
CIE-LCHlch(46.30, 25.97, 207.46°)
OKLaboklab(52.82% -0.0759 -0.0333)
OKLCHoklch(52.82% 0.083 203.7)
XYZxyz(11.2500, 15.4914, 23.1618)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7981 #81231B
analogous
#1B8156 #1B7981 #1B4681
triadic
#1B7981 #811B79 #79811B
tetradic
#1B7981 #561B81 #81231B #46811B
square
#1B7981 #561B81 #81231B #46811B
split-complementary
#1B7981 #811B46 #81561B
monochromatic
#061A1C #104A4E #1B7981 #26A8B4 #3FCBD7

Accessibility & contrast

On white

5.12
#1B7981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1B7981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7981
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7981#FFFFFF#000000##FFFFFF
##1B79811.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#616981
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7981;
/* rgb */ color: rgb(27, 121, 129);
/* oklch */ color: oklch(52.8% 0.083 203.7);
Tailwind
colors: {
  custom: {
    50: '#6ba0a5',
    500: '#1b7981',
    950: '#000000',
  },
}
SCSS
$custom: #1b7981;
$custom-light: #6ba0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7981",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 129
  },
  "hsl": {
    "h": 184.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.08286,
    "h": 203.7
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#1B7981
secondary
#B54C43
accent
#4D3FE8
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1B7981

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

Preview Lab → · Contrast checker → · Palette generator →

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