#1F7472#1F7472

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

Color values

HEX#1F7472
RGBrgb(31, 116, 114)
HSLhsl(179, 58%, 29%)
HSVhsv(179, 73%, 45%)
CMYKcmyk(73.3%, 0%, 1.7%, 54.5%)
CIE-LABlab(44.23, -24.77, -6.13)
CIE-LCHlch(44.23, 25.52, 193.89°)
OKLaboklab(51% -0.0759 -0.0171)
OKLCHoklch(51% 0.078 192.7)
XYZxyz(9.8463, 13.9958, 18.0989)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7472 #741F21
analogous
#1F7448 #1F7472 #1F4C74
triadic
#1F7472 #721F74 #74721F
tetradic
#1F7472 #481F74 #741F21 #4C741F
square
#1F7472 #481F74 #741F21 #4C741F
split-complementary
#1F7472 #741F4C #74481F
monochromatic
#061818 #124443 #1F7472 #2CA4A1 #41CCC9

Accessibility & contrast

On white

5.53
#1F7472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1F7472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7472
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7472#FFFFFF#000000##FFFFFF
##1F74721.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6E72
Deuteranopia (green-blind)
#606573
Tritanopia (blue-blind)
#007873
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7472;
/* rgb */ color: rgb(31, 116, 114);
/* oklch */ color: oklch(51.0% 0.078 192.7);
Tailwind
colors: {
  custom: {
    50: '#699c9a',
    500: '#1f7472',
    950: '#000000',
  },
}
SCSS
$custom: #1f7472;
$custom-light: #699c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7472",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 114
  },
  "hsl": {
    "h": 178.588,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.07784,
    "h": 192.7
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#1F7472
secondary
#A84749
accent
#474AE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7472

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

Preview Lab → · Contrast checker → · Palette generator →

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