#1F707F#1F707F

#1F707F is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.5% C 0.078 H 212.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F707F
RGBrgb(31, 112, 127)
HSLhsl(189, 61%, 31%)
HSVhsv(189, 76%, 50%)
CMYKcmyk(75.6%, 11.8%, 0%, 50.2%)
CIE-LABlab(43.38, -18.41, -15.21)
CIE-LCHlch(43.38, 23.88, 219.56°)
OKLaboklab(50.46% -0.0656 -0.0424)
OKLCHoklch(50.46% 0.078 212.9)
XYZxyz(10.1884, 13.4107, 22.1261)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F707F #7F2E1F
analogous
#1F7F5E #1F707F #1F407F
triadic
#1F707F #7F1F70 #707F1F
tetradic
#1F707F #5E1F7F #7F2E1F #407F1F
square
#1F707F #5E1F7F #7F2E1F #407F1F
split-complementary
#1F707F #7F1F40 #7F5E1F
monochromatic
#07191D #13454E #1F707F #2B9BB0 #46BCD2

Accessibility & contrast

On white

5.70
#1F707F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F707F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F707F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F707F#FFFFFF#000000##FFFFFF
##1F707F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656C80
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#007675
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f707f;
/* rgb */ color: rgb(31, 112, 127);
/* oklch */ color: oklch(50.5% 0.078 212.9);
Tailwind
colors: {
  custom: {
    50: '#6a99a4',
    500: '#1f707f',
    950: '#000000',
  },
}
SCSS
$custom: #1f707f;
$custom-light: #6a99a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f707f",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 127
  },
  "hsl": {
    "h": 189.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.0781,
    "h": 212.9
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#1F707F
secondary
#B25848
accent
#5D44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1F707F

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

Preview Lab → · Contrast checker → · Palette generator →

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