#1C797D#1C797D

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

Color values

HEX#1C797D
RGBrgb(28, 121, 125)
HSLhsl(182, 63%, 30%)
HSVhsv(182, 78%, 49%)
CMYKcmyk(77.6%, 3.2%, 0%, 51%)
CIE-LABlab(46.18, -24.23, -9.78)
CIE-LCHlch(46.18, 26.13, 201.98°)
OKLaboklab(52.69% -0.0773 -0.0272)
OKLCHoklch(52.69% 0.082 199.4)
XYZxyz(11.0163, 15.4009, 21.7901)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C797D #7D201C
analogous
#1C7D50 #1C797D #1C497D
triadic
#1C797D #7D1C79 #797D1C
tetradic
#1C797D #501C7D #7D201C #497D1C
square
#1C797D #501C7D #7D201C #497D1C
split-complementary
#1C797D #7D1C49 #7D501C
monochromatic
#061819 #11494B #1C797D #27A9AF #3FCED4

Accessibility & contrast

On white

5.15
#1C797D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1C797D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C797D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C797D#FFFFFF#000000##FFFFFF
##1C797D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737D
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c797d;
/* rgb */ color: rgb(28, 121, 125);
/* oklch */ color: oklch(52.7% 0.082 199.4);
Tailwind
colors: {
  custom: {
    50: '#6aa0a2',
    500: '#1c797d',
    950: '#000000',
  },
}
SCSS
$custom: #1c797d;
$custom-light: #6aa0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c797d",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 182.474,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.08198,
    "h": 199.4
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#1C797D
secondary
#B14944
accent
#4841E6
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #1C797D

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

Preview Lab → · Contrast checker → · Palette generator →

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