#1B797F#1B797F

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

Color values

HEX#1B797F
RGBrgb(27, 121, 127)
HSLhsl(184, 65%, 30%)
HSVhsv(184, 79%, 50%)
CMYKcmyk(78.7%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.23, -23.70, -10.89)
CIE-LCHlch(46.23, 26.08, 204.69°)
OKLaboklab(52.74% -0.0768 -0.0303)
OKLCHoklch(52.74% 0.083 201.5)
XYZxyz(11.1184, 15.4387, 22.4685)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B797F #7F211B
analogous
#1B7F53 #1B797F #1B477F
triadic
#1B797F #7F1B79 #797F1B
tetradic
#1B797F #531B7F #7F211B #477F1B
square
#1B797F #531B7F #7F211B #477F1B
split-complementary
#1B797F #7F1B47 #7F531B
monochromatic
#06191A #10494D #1B797F #26A9B1 #3ECDD6

Accessibility & contrast

On white

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

On black

4.09
#1B797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B797F#FFFFFF#000000##FFFFFF
##1B797F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737F
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b797f;
/* rgb */ color: rgb(27, 121, 127);
/* oklch */ color: oklch(52.7% 0.083 201.5);
Tailwind
colors: {
  custom: {
    50: '#6aa0a4',
    500: '#1b797f',
    950: '#000000',
  },
}
SCSS
$custom: #1b797f;
$custom-light: #6aa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b797f",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.08255,
    "h": 201.5
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#1B797F
secondary
#B34A43
accent
#4A40E8
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1B797F

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

Preview Lab → · Contrast checker → · Palette generator →

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