#1F727F#1F727F

#1F727F is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.078 H 210.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F727F
RGBrgb(31, 114, 127)
HSLhsl(188, 61%, 31%)
HSVhsv(188, 76%, 50%)
CMYKcmyk(75.6%, 10.2%, 0%, 50.2%)
CIE-LABlab(44.03, -19.50, -14.22)
CIE-LCHlch(44.03, 24.13, 216.10°)
OKLaboklab(50.99% -0.0677 -0.0396)
OKLCHoklch(50.99% 0.078 210.3)
XYZxyz(10.4115, 13.8570, 22.2005)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F727F #7F2C1F
analogous
#1F7F5C #1F727F #1F427F
triadic
#1F727F #7F1F72 #727F1F
tetradic
#1F727F #5C1F7F #7F2C1F #427F1F
square
#1F727F #5C1F7F #7F2C1F #427F1F
split-complementary
#1F727F #7F1F42 #7F5C1F
monochromatic
#071A1D #13464E #1F727F #2B9EB0 #46BFD2

Accessibility & contrast

On white

5.57
#1F727F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1F727F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F727F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F727F#FFFFFF#000000##FFFFFF
##1F727F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E80
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f727f;
/* rgb */ color: rgb(31, 114, 127);
/* oklch */ color: oklch(51.0% 0.078 210.3);
Tailwind
colors: {
  custom: {
    50: '#6b9aa4',
    500: '#1f727f',
    950: '#000000',
  },
}
SCSS
$custom: #1f727f;
$custom-light: #6b9aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f727f",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 127
  },
  "hsl": {
    "h": 188.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.07846,
    "h": 210.3
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#1F727F
secondary
#B25648
accent
#5A44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1F727F

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

Preview Lab → · Contrast checker → · Palette generator →

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