#1F7266#1F7266

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

Color values

HEX#1F7266
RGBrgb(31, 114, 102)
HSLhsl(171, 57%, 28%)
HSVhsv(171, 73%, 45%)
CMYKcmyk(72.8%, 0%, 10.5%, 55.3%)
CIE-LABlab(43.19, -27.40, -0.46)
CIE-LCHlch(43.19, 27.40, 180.95°)
OKLaboklab(50.03% -0.0797 -0.0017)
OKLCHoklch(50.03% 0.08 181.2)
XYZxyz(8.9795, 13.2842, 14.6587)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7266 #721F2B
analogous
#1F723C #1F7266 #1F5472
triadic
#1F7266 #661F72 #72661F
tetradic
#1F7266 #3C1F72 #721F2B #54721F
square
#1F7266 #3C1F72 #721F2B #54721F
split-complementary
#1F7266 #721F54 #723C1F
monochromatic
#071816 #12423B #1F7266 #2CA291 #40CBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7266#FFFFFF#000000##FFFFFF
##1F72661.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)
#6D6B66
Deuteranopia (green-blind)
#616267
Tritanopia (blue-blind)
#00746E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7266;
/* rgb */ color: rgb(31, 114, 102);
/* oklch */ color: oklch(50.0% 0.080 181.2);
Tailwind
colors: {
  custom: {
    50: '#689b91',
    500: '#1f7266',
    950: '#000000',
  },
}
SCSS
$custom: #1f7266;
$custom-light: #689b91;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7266",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 102
  },
  "hsl": {
    "h": 171.325,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.07968,
    "h": 181.2
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#1F7266
secondary
#A64755
accent
#475DE0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7266

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

Preview Lab → · Contrast checker → · Palette generator →

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