#1C797F#1C797F

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

Color values

HEX#1C797F
RGBrgb(28, 121, 127)
HSLhsl(184, 64%, 30%)
HSVhsv(184, 78%, 50%)
CMYKcmyk(78%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.25, -23.58, -10.86)
CIE-LCHlch(46.25, 25.96, 204.74°)
OKLaboklab(52.76% -0.0764 -0.0302)
OKLCHoklch(52.76% 0.082 201.6)
XYZxyz(11.1453, 15.4526, 22.4698)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C797F #7F221C
analogous
#1C7F53 #1C797F #1C487F
triadic
#1C797F #7F1C79 #797F1C
tetradic
#1C797F #531C7F #7F221C #487F1C
square
#1C797F #531C7F #7F221C #487F1C
split-complementary
#1C797F #7F1C48 #7F531C
monochromatic
#06191B #11494D #1C797F #27A9B1 #40CCD5

Accessibility & contrast

On white

5.13
#1C797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C797F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C797F#FFFFFF#000000##FFFFFF
##1C797F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c797f;
/* rgb */ color: rgb(28, 121, 127);
/* oklch */ color: oklch(52.8% 0.082 201.6);
Tailwind
colors: {
  custom: {
    50: '#6ba0a4',
    500: '#1c797f',
    950: '#000000',
  },
}
SCSS
$custom: #1c797f;
$custom-light: #6ba0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c797f",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.636,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.08217,
    "h": 201.6
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#1C797F
secondary
#B34B44
accent
#4B41E7
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1C797F

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

Preview Lab → · Contrast checker → · Palette generator →

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