#1F7271#1F7271

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

Color values

HEX#1F7271
RGBrgb(31, 114, 113)
HSLhsl(179, 57%, 28%)
HSVhsv(179, 73%, 45%)
CMYKcmyk(72.8%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.53, -24.06, -6.56)
CIE-LCHlch(43.53, 24.94, 195.25°)
OKLaboklab(50.42% -0.0742 -0.0182)
OKLCHoklch(50.42% 0.076 193.8)
XYZxyz(9.5617, 13.5171, 17.7247)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7271 #721F20
analogous
#1F7247 #1F7271 #1F4972
triadic
#1F7271 #711F72 #72711F
tetradic
#1F7271 #471F72 #721F20 #49721F
square
#1F7271 #471F72 #721F20 #49721F
split-complementary
#1F7271 #721F49 #72471F
monochromatic
#071818 #124241 #1F7271 #2CA2A1 #40CBC9

Accessibility & contrast

On white

5.67
#1F7271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1F7271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7271
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7271#FFFFFF#000000##FFFFFF
##1F72711.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C71
Deuteranopia (green-blind)
#5E6372
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7271;
/* rgb */ color: rgb(31, 114, 113);
/* oklch */ color: oklch(50.4% 0.076 193.8);
Tailwind
colors: {
  custom: {
    50: '#699b99',
    500: '#1f7271',
    950: '#000000',
  },
}
SCSS
$custom: #1f7271;
$custom-light: #699b99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7271",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.277,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.07644,
    "h": 193.8
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#1F7271
secondary
#A64748
accent
#4749E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7271

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

Preview Lab → · Contrast checker → · Palette generator →

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