#1F7267#1F7267

#1F7267 is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.1% C 0.079 H 182.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#1F7267
RGBrgb(31, 114, 103)
HSLhsl(172, 57%, 28%)
HSVhsv(172, 73%, 45%)
CMYKcmyk(72.8%, 0%, 9.6%, 55.3%)
CIE-LABlab(43.22, -27.11, -1.01)
CIE-LCHlch(43.22, 27.12, 182.14°)
OKLaboklab(50.06% -0.0791 -0.0032)
OKLCHoklch(50.06% 0.079 182.3)
XYZxyz(9.0294, 13.3042, 14.9214)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7267 #721F2A
analogous
#1F723D #1F7267 #1F5372
triadic
#1F7267 #671F72 #72671F
tetradic
#1F7267 #3D1F72 #721F2A #53721F
square
#1F7267 #3D1F72 #721F2A #53721F
split-complementary
#1F7267 #721F53 #723D1F
monochromatic
#071816 #12423C #1F7267 #2CA292 #40CBB9

Accessibility & contrast

On white

5.74
#1F7267 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1F7267 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7267
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7267#FFFFFF#000000##FFFFFF
##1F72671.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6B67
Deuteranopia (green-blind)
#616268
Tritanopia (blue-blind)
#00746F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7267;
/* rgb */ color: rgb(31, 114, 103);
/* oklch */ color: oklch(50.1% 0.079 182.3);
Tailwind
colors: {
  custom: {
    50: '#689b92',
    500: '#1f7267',
    950: '#000000',
  },
}
SCSS
$custom: #1f7267;
$custom-light: #689b92;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7267",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 103
  },
  "hsl": {
    "h": 172.048,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.07921,
    "h": 182.3
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#1F7267
secondary
#A64754
accent
#475CE0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0D
muted
#7A7E7D

Preview Lab

Preview with #1F7267

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

Preview Lab → · Contrast checker → · Palette generator →

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