#1F7272#1F7272

#1F7272 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.5% C 0.076 H 195.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F7272
RGBrgb(31, 114, 114)
HSLhsl(180, 57%, 28%)
HSVhsv(180, 73%, 45%)
CMYKcmyk(72.8%, 0%, 0%, 55.3%)
CIE-LABlab(43.57, -23.75, -7.11)
CIE-LCHlch(43.57, 24.79, 196.68°)
OKLaboklab(50.46% -0.0737 -0.0198)
OKLCHoklch(50.46% 0.076 195)
XYZxyz(9.6183, 13.5397, 18.0228)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7272 #721F1F
analogous
#1F7248 #1F7272 #1F4872
triadic
#1F7272 #721F72 #72721F
tetradic
#1F7272 #481F72 #721F1F #48721F
square
#1F7272 #481F72 #721F1F #48721F
split-complementary
#1F7272 #721F48 #72481F
monochromatic
#071818 #124242 #1F7272 #2CA2A2 #40CBCB

Accessibility & contrast

On white

5.66
#1F7272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1F7272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7272
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7272#FFFFFF#000000##FFFFFF
##1F72721.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#5E6373
Tritanopia (blue-blind)
#007672
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7272;
/* rgb */ color: rgb(31, 114, 114);
/* oklch */ color: oklch(50.5% 0.076 195.0);
Tailwind
colors: {
  custom: {
    50: '#699b9a',
    500: '#1f7272',
    950: '#000000',
  },
}
SCSS
$custom: #1f7272;
$custom-light: #699b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7272",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 114
  },
  "hsl": {
    "h": 180,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.07635,
    "h": 195
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#1F7272
secondary
#A64747
accent
#4747E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7272

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

Preview Lab → · Contrast checker → · Palette generator →

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