#1F7166#1F7166

#1F7166 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.8% C 0.079 H 182.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F7166
RGBrgb(31, 113, 102)
HSLhsl(172, 57%, 28%)
HSVhsv(172, 73%, 44%)
CMYKcmyk(72.6%, 0%, 9.7%, 55.7%)
CIE-LABlab(42.85, -26.91, -0.95)
CIE-LCHlch(42.85, 26.92, 182.01°)
OKLaboklab(49.76% -0.0785 -0.003)
OKLCHoklch(49.76% 0.079 182.2)
XYZxyz(8.8673, 13.0598, 14.6213)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7166 #711F2A
analogous
#1F713D #1F7166 #1F5371
triadic
#1F7166 #661F71 #71661F
tetradic
#1F7166 #3D1F71 #711F2A #53711F
square
#1F7166 #3D1F71 #711F2A #53711F
split-complementary
#1F7166 #711F53 #713D1F
monochromatic
#071816 #12413B #1F7166 #2CA191 #40CBB8

Accessibility & contrast

On white

5.81
#1F7166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7166
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7166#FFFFFF#000000##FFFFFF
##1F71661.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6A66
Deuteranopia (green-blind)
#606267
Tritanopia (blue-blind)
#00736E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7166;
/* rgb */ color: rgb(31, 113, 102);
/* oklch */ color: oklch(49.8% 0.079 182.2);
Tailwind
colors: {
  custom: {
    50: '#689a91',
    500: '#1f7166',
    950: '#000000',
  },
}
SCSS
$custom: #1f7166;
$custom-light: #689a91;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7166",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 102
  },
  "hsl": {
    "h": 171.951,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.0786,
    "h": 182.2
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#1F7166
secondary
#A54754
accent
#485CE0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7166

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

Preview Lab → · Contrast checker → · Palette generator →

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