#1F707A#1F707A

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

Color values

HEX#1F707A
RGBrgb(31, 112, 122)
HSLhsl(187, 59%, 30%)
HSVhsv(187, 75%, 48%)
CMYKcmyk(74.6%, 8.2%, 0%, 52.2%)
CIE-LABlab(43.19, -20.10, -12.49)
CIE-LCHlch(43.19, 23.66, 211.86°)
OKLaboklab(50.25% -0.0678 -0.0347)
OKLCHoklch(50.25% 0.076 207.1)
XYZxyz(9.8706, 13.2836, 20.4524)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F707A #7A291F
analogous
#1F7A56 #1F707A #1F437A
triadic
#1F707A #7A1F70 #707A1F
tetradic
#1F707A #561F7A #7A291F #437A1F
square
#1F707A #561F7A #7A291F #437A1F
split-complementary
#1F707A #7A1F43 #7A561F
monochromatic
#061618 #134349 #1F707A #2B9DAB #44C0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F707A#FFFFFF#000000##FFFFFF
##1F707A1.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)
#666B7B
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#007573
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f707a;
/* rgb */ color: rgb(31, 112, 122);
/* oklch */ color: oklch(50.2% 0.076 207.1);
Tailwind
colors: {
  custom: {
    50: '#6a99a0',
    500: '#1f707a',
    950: '#000000',
  },
}
SCSS
$custom: #1f707a;
$custom-light: #6a99a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f707a",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 122
  },
  "hsl": {
    "h": 186.593,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.07621,
    "h": 207.1
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#1F707A
secondary
#AD5347
accent
#5645E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F707A

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

Preview Lab → · Contrast checker → · Palette generator →

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