#1F797E#1F797E

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

Color values

HEX#1F797E
RGBrgb(31, 121, 126)
HSLhsl(183, 61%, 31%)
HSVhsv(183, 75%, 49%)
CMYKcmyk(75.4%, 4%, 0%, 50.6%)
CIE-LABlab(46.27, -23.53, -10.23)
CIE-LCHlch(46.27, 25.66, 203.49°)
OKLaboklab(52.79% -0.0757 -0.0284)
OKLCHoklch(52.79% 0.081 200.6)
XYZxyz(11.1667, 15.4711, 22.1323)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F797E #7E241F
analogous
#1F7E53 #1F797E #1F497E
triadic
#1F797E #7E1F79 #797E1F
tetradic
#1F797E #531F7E #7E241F #497E1F
square
#1F797E #531F7E #7E241F #497E1F
split-complementary
#1F797E #7E1F49 #7E531F
monochromatic
#071B1C #134A4D #1F797E #2BA8AF #46CAD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F797E#FFFFFF#000000##FFFFFF
##1F797E1.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)
#70737E
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f797e;
/* rgb */ color: rgb(31, 121, 126);
/* oklch */ color: oklch(52.8% 0.081 200.6);
Tailwind
colors: {
  custom: {
    50: '#6ba0a3',
    500: '#1f797e',
    950: '#000000',
  },
}
SCSS
$custom: #1f797e;
$custom-light: #6ba0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f797e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.08084,
    "h": 200.6
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#1F797E
secondary
#B14D48
accent
#4D44E4
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F797E

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

Preview Lab → · Contrast checker → · Palette generator →

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