#1F7E7C#1F7E7C

#1F7E7C is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.084 H 192.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F7E7C
RGBrgb(31, 126, 124)
HSLhsl(179, 61%, 31%)
HSVhsv(179, 75%, 49%)
CMYKcmyk(75.4%, 0%, 1.6%, 50.6%)
CIE-LABlab(47.84, -26.70, -6.70)
CIE-LCHlch(47.84, 27.53, 194.08°)
OKLaboklab(54.04% -0.082 -0.0187)
OKLCHoklch(54.04% 0.084 192.8)
XYZxyz(11.6623, 16.6669, 21.6672)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E7C #7E1F21
analogous
#1F7E4C #1F7E7C #1F507E
triadic
#1F7E7C #7C1F7E #7E7C1F
tetradic
#1F7E7C #4C1F7E #7E1F21 #507E1F
square
#1F7E7C #4C1F7E #7E1F21 #507E1F
split-complementary
#1F7E7C #7E1F50 #7E4C1F
monochromatic
#071C1B #134D4C #1F7E7C #2BAFAC #46D1CF

Accessibility & contrast

On white

4.85
#1F7E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F7E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E7C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E7C#FFFFFF#000000##FFFFFF
##1F7E7C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777C
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7e7c;
/* rgb */ color: rgb(31, 126, 124);
/* oklch */ color: oklch(54.0% 0.084 192.8);
Tailwind
colors: {
  custom: {
    50: '#6ca4a1',
    500: '#1f7e7c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e7c;
$custom-light: #6ca4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e7c",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 178.737,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.08406,
    "h": 192.8
  },
  "luminance": 0.16668
}

Semantic roles & 50–950 ramp

primary
#1F7E7C
secondary
#B1484A
accent
#4448E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F7E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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