#1F7E87#1F7E87

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

Color values

HEX#1F7E87
RGBrgb(31, 126, 135)
HSLhsl(185, 63%, 33%)
HSVhsv(185, 77%, 53%)
CMYKcmyk(77%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.21, -23.20, -12.63)
CIE-LCHlch(48.21, 26.42, 208.57°)
OKLaboklab(54.46% -0.0769 -0.0351)
OKLCHoklch(54.46% 0.085 204.6)
XYZxyz(12.3972, 16.9608, 25.5374)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E87 #87281F
analogous
#1F875C #1F7E87 #1F4A87
triadic
#1F7E87 #871F7E #7E871F
tetradic
#1F7E87 #5C1F87 #87281F #4A871F
square
#1F7E87 #5C1F87 #87281F #4A871F
split-complementary
#1F7E87 #871F4A #875C1F
monochromatic
#082123 #145055 #1F7E87 #2AACB9 #4BCAD6

Accessibility & contrast

On white

4.78
#1F7E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F7E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E87
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E87#FFFFFF#000000##FFFFFF
##1F7E871.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737988
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7e87;
/* rgb */ color: rgb(31, 126, 135);
/* oklch */ color: oklch(54.5% 0.085 204.6);
Tailwind
colors: {
  custom: {
    50: '#6da3aa',
    500: '#1f7e87',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e87;
$custom-light: #6da3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e87",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 185.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.0845,
    "h": 204.6
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#1F7E87
secondary
#B8534A
accent
#5042E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7E87

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

Preview Lab → · Contrast checker → · Palette generator →

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