#1F7D7B#1F7D7B

#1F7D7B is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.7% C 0.083 H 192.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7D7B
RGBrgb(31, 125, 123)
HSLhsl(179, 60%, 31%)
HSVhsv(179, 75%, 49%)
CMYKcmyk(75.2%, 0%, 1.6%, 51%)
CIE-LABlab(47.48, -26.51, -6.64)
CIE-LCHlch(47.48, 27.33, 194.07°)
OKLaboklab(53.74% -0.0814 -0.0185)
OKLCHoklch(53.74% 0.083 192.8)
XYZxyz(11.4722, 16.3872, 21.2935)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D7B #7D1F21
analogous
#1F7D4C #1F7D7B #1F507D
triadic
#1F7D7B #7B1F7D #7D7B1F
tetradic
#1F7D7B #4C1F7D #7D1F21 #507D1F
square
#1F7D7B #4C1F7D #7D1F21 #507D1F
split-complementary
#1F7D7B #7D1F50 #7D4C1F
monochromatic
#071B1A #134C4B #1F7D7B #2BAEAB #45D1CE

Accessibility & contrast

On white

4.91
#1F7D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F7D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D7B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D7B#FFFFFF#000000##FFFFFF
##1F7D7B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75767B
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7d7b;
/* rgb */ color: rgb(31, 125, 123);
/* oklch */ color: oklch(53.7% 0.083 192.8);
Tailwind
colors: {
  custom: {
    50: '#6ca3a1',
    500: '#1f7d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d7b;
$custom-light: #6ca3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d7b",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 123
  },
  "hsl": {
    "h": 178.723,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.08345,
    "h": 192.8
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#1F7D7B
secondary
#B0484A
accent
#4448E3
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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