#1F7F7E#1F7F7E

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

Color values

HEX#1F7F7E
RGBrgb(31, 127, 126)
HSLhsl(179, 61%, 31%)
HSVhsv(179, 76%, 50%)
CMYKcmyk(75.6%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.23, -26.58, -7.30)
CIE-LCHlch(48.23, 27.57, 195.35°)
OKLaboklab(54.38% -0.0821 -0.0203)
OKLCHoklch(54.38% 0.085 193.9)
XYZxyz(11.9186, 16.9750, 22.3830)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F7E #7F1F20
analogous
#1F7F4E #1F7F7E #1F507F
triadic
#1F7F7E #7E1F7F #7F7E1F
tetradic
#1F7F7E #4E1F7F #7F1F20 #507F1F
square
#1F7F7E #4E1F7F #7F1F20 #507F1F
split-complementary
#1F7F7E #7F1F50 #7F4E1F
monochromatic
#071D1C #134E4D #1F7F7E #2BB0AF #46D2D0

Accessibility & contrast

On white

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

On black

4.40
#1F7F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7F7E#FFFFFF#000000##FFFFFF
##1F7F7E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787E
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7f7e;
/* rgb */ color: rgb(31, 127, 126);
/* oklch */ color: oklch(54.4% 0.085 193.9);
Tailwind
colors: {
  custom: {
    50: '#6ca4a3',
    500: '#1f7f7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f7e;
$custom-light: #6ca4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f7e",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.08455,
    "h": 193.9
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#1F7F7E
secondary
#B24849
accent
#4446E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F7F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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