#1F797C#1F797C

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

Color values

HEX#1F797C
RGBrgb(31, 121, 124)
HSLhsl(182, 60%, 30%)
HSVhsv(182, 75%, 49%)
CMYKcmyk(75%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.20, -24.17, -9.14)
CIE-LCHlch(46.20, 25.84, 200.72°)
OKLaboklab(52.71% -0.0766 -0.0254)
OKLCHoklch(52.71% 0.081 198.3)
XYZxyz(11.0389, 15.4200, 21.4594)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F797C #7C221F
analogous
#1F7C50 #1F797C #1F4B7C
triadic
#1F797C #7C1F79 #797C1F
tetradic
#1F797C #501F7C #7C221F #4B7C1F
square
#1F797C #501F7C #7C221F #4B7C1F
split-complementary
#1F797C #7C1F4B #7C501F
monochromatic
#07191A #13494B #1F797C #2BA9AD #45CCD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F797C#FFFFFF#000000##FFFFFF
##1F797C1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#63697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f797c;
/* rgb */ color: rgb(31, 121, 124);
/* oklch */ color: oklch(52.7% 0.081 198.3);
Tailwind
colors: {
  custom: {
    50: '#6ba0a1',
    500: '#1f797c',
    950: '#000000',
  },
}
SCSS
$custom: #1f797c;
$custom-light: #6ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f797c",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 181.935,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.08072,
    "h": 198.3
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#1F797C
secondary
#AF4B48
accent
#4A45E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #1F797C

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

Preview Lab → · Contrast checker → · Palette generator →

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