#1F7672#1F7672

#1F7672 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.5% C 0.079 H 190.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F7672
RGBrgb(31, 118, 114)
HSLhsl(177, 58%, 29%)
HSVhsv(177, 74%, 46%)
CMYKcmyk(73.7%, 0%, 3.4%, 53.7%)
CIE-LABlab(44.89, -25.78, -5.14)
CIE-LCHlch(44.89, 26.29, 191.28°)
OKLaboklab(51.53% -0.0781 -0.0144)
OKLCHoklch(51.53% 0.079 190.4)
XYZxyz(10.0794, 14.4619, 18.1765)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7672 #761F23
analogous
#1F7647 #1F7672 #1F4F76
triadic
#1F7672 #721F76 #76721F
tetradic
#1F7672 #471F76 #761F23 #4F761F
square
#1F7672 #471F76 #761F23 #4F761F
split-complementary
#1F7672 #761F4F #76471F
monochromatic
#061817 #124643 #1F7672 #2CA6A1 #42CDC7

Accessibility & contrast

On white

5.39
#1F7672 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F7672 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7672
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7672#FFFFFF#000000##FFFFFF
##1F76721.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7072
Deuteranopia (green-blind)
#626673
Tritanopia (blue-blind)
#007975
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7672;
/* rgb */ color: rgb(31, 118, 114);
/* oklch */ color: oklch(51.5% 0.079 190.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e9a',
    500: '#1f7672',
    950: '#000000',
  },
}
SCSS
$custom: #1f7672;
$custom-light: #6a9e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7672",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 114
  },
  "hsl": {
    "h": 177.241,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.07945,
    "h": 190.4
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#1F7672
secondary
#AA474C
accent
#464DE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7672

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

Preview Lab → · Contrast checker → · Palette generator →

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