#1F7F7D#1F7F7D

#1F7F7D is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.3% C 0.085 H 192.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F7F7D
RGBrgb(31, 127, 125)
HSLhsl(179, 61%, 31%)
HSVhsv(179, 76%, 50%)
CMYKcmyk(75.6%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.20, -26.89, -6.76)
CIE-LCHlch(48.20, 27.73, 194.10°)
OKLaboklab(54.34% -0.0825 -0.0188)
OKLCHoklch(54.34% 0.085 192.8)
XYZxyz(11.8544, 16.9493, 22.0448)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F7D #7F1F21
analogous
#1F7F4D #1F7F7D #1F517F
triadic
#1F7F7D #7D1F7F #7F7D1F
tetradic
#1F7F7D #4D1F7F #7F1F21 #517F1F
square
#1F7F7D #4D1F7F #7F1F21 #517F1F
split-complementary
#1F7F7D #7F1F51 #7F4D1F
monochromatic
#071D1C #134E4D #1F7F7D #2BB0AD #46D2CF

Accessibility & contrast

On white

4.78
#1F7F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F7F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F7D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F7D#FFFFFF#000000##FFFFFF
##1F7F7D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787D
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7f7d;
/* rgb */ color: rgb(31, 127, 125);
/* oklch */ color: oklch(54.3% 0.085 192.8);
Tailwind
colors: {
  custom: {
    50: '#6ca4a2',
    500: '#1f7f7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f7d;
$custom-light: #6ca4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f7d",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.08467,
    "h": 192.8
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#1F7F7D
secondary
#B2484A
accent
#4447E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F7F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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