#1C797E#1C797E

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

Color values

HEX#1C797E
RGBrgb(28, 121, 126)
HSLhsl(183, 64%, 30%)
HSVhsv(183, 78%, 49%)
CMYKcmyk(77.8%, 4%, 0%, 50.6%)
CIE-LABlab(46.21, -23.90, -10.32)
CIE-LCHlch(46.21, 26.04, 203.36°)
OKLaboklab(52.72% -0.0769 -0.0287)
OKLCHoklch(52.72% 0.082 200.5)
XYZxyz(11.0805, 15.4266, 22.1283)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C797E #7E211C
analogous
#1C7E52 #1C797E #1C487E
triadic
#1C797E #7E1C79 #797E1C
tetradic
#1C797E #521C7E #7E211C #487E1C
square
#1C797E #521C7E #7E211C #487E1C
split-complementary
#1C797E #7E1C48 #7E521C
monochromatic
#06191A #11494C #1C797E #27A9B0 #40CDD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C797E#FFFFFF#000000##FFFFFF
##1C797E1.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)
#6F737E
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c797e;
/* rgb */ color: rgb(28, 121, 126);
/* oklch */ color: oklch(52.7% 0.082 200.5);
Tailwind
colors: {
  custom: {
    50: '#6ba0a3',
    500: '#1c797e',
    950: '#000000',
  },
}
SCSS
$custom: #1c797e;
$custom-light: #6ba0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c797e",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.061,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.08206,
    "h": 200.5
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#1C797E
secondary
#B24A44
accent
#4A41E7
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1C797E

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

Preview Lab → · Contrast checker → · Palette generator →

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