#1F7E89#1F7E89

#1F7E89 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.085 H 206.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F7E89
RGBrgb(31, 126, 137)
HSLhsl(186, 63%, 33%)
HSVhsv(186, 77%, 54%)
CMYKcmyk(77.4%, 8%, 0%, 46.3%)
CIE-LABlab(48.28, -22.54, -13.70)
CIE-LCHlch(48.28, 26.38, 211.29°)
OKLaboklab(54.55% -0.076 -0.0381)
OKLCHoklch(54.55% 0.085 206.6)
XYZxyz(12.5393, 17.0176, 26.2859)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E89 #892A1F
analogous
#1F895F #1F7E89 #1F4989
triadic
#1F7E89 #891F7E #7E891F
tetradic
#1F7E89 #5F1F89 #892A1F #49891F
square
#1F7E89 #5F1F89 #892A1F #49891F
split-complementary
#1F7E89 #891F49 #895F1F
monochromatic
#082225 #145057 #1F7E89 #2AACBB #4CC8D6

Accessibility & contrast

On white

4.77
#1F7E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#1F7E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E89
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E89#FFFFFF#000000##FFFFFF
##1F7E891.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798A
Deuteranopia (green-blind)
#646E89
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7e89;
/* rgb */ color: rgb(31, 126, 137);
/* oklch */ color: oklch(54.5% 0.085 206.6);
Tailwind
colors: {
  custom: {
    50: '#6da3ab',
    500: '#1f7e89',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e89;
$custom-light: #6da3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e89",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 137
  },
  "hsl": {
    "h": 186.226,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.08498,
    "h": 206.6
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#1F7E89
secondary
#B9564B
accent
#5342E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7E89

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

Preview Lab → · Contrast checker → · Palette generator →

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