#1F7F7C#1F7F7C

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

Color values

HEX#1F7F7C
RGBrgb(31, 127, 124)
HSLhsl(178, 61%, 31%)
HSVhsv(178, 76%, 50%)
CMYKcmyk(75.6%, 0%, 2.4%, 50.2%)
CIE-LABlab(48.16, -27.20, -6.21)
CIE-LCHlch(48.16, 27.90, 192.87°)
OKLaboklab(54.3% -0.083 -0.0173)
OKLCHoklch(54.3% 0.085 191.8)
XYZxyz(11.7908, 16.9239, 21.7101)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F7C #7F1F22
analogous
#1F7F4C #1F7F7C #1F527F
triadic
#1F7F7C #7C1F7F #7F7C1F
tetradic
#1F7F7C #4C1F7F #7F1F22 #527F1F
square
#1F7F7C #4C1F7F #7F1F22 #527F1F
split-complementary
#1F7F7C #7F1F52 #7F4C1F
monochromatic
#071D1C #134E4C #1F7F7C #2BB0AC #46D2CE

Accessibility & contrast

On white

4.79
#1F7F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7F7C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F7C#FFFFFF#000000##FFFFFF
##1F7F7C1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7f7c;
/* rgb */ color: rgb(31, 127, 124);
/* oklch */ color: oklch(54.3% 0.085 191.8);
Tailwind
colors: {
  custom: {
    50: '#6ca4a1',
    500: '#1f7f7c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f7c;
$custom-light: #6ca4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f7c",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 178.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.08481,
    "h": 191.8
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#1F7F7C
secondary
#B2484B
accent
#4449E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F7F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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