#1F8797#1F8797

#1F8797 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.092 H 210.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8797
RGBrgb(31, 135, 151)
HSLhsl(188, 66%, 36%)
HSVhsv(188, 79%, 59%)
CMYKcmyk(79.5%, 10.6%, 0%, 40.8%)
CIE-LABlab(51.67, -22.61, -16.75)
CIE-LCHlch(51.67, 28.13, 216.53°)
OKLaboklab(57.45% -0.079 -0.0467)
OKLCHoklch(57.45% 0.092 210.6)
XYZxyz(14.8125, 19.8518, 32.3232)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8797 #972F1F
analogous
#1F976B #1F8797 #1F4B97
triadic
#1F8797 #971F87 #87971F
tetradic
#1F8797 #6B1F97 #972F1F #4B971F
square
#1F8797 #6B1F97 #972F1F #4B971F
split-complementary
#1F8797 #971F4B #976B1F
monochromatic
#0A2C31 #155A64 #1F8797 #29B4CA #54CADC

Accessibility & contrast

On white

4.22
#1F8797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#1F8797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8797
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8797#FFFFFF#000000##000000
##1F87971.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8797;
/* rgb */ color: rgb(31, 135, 151);
/* oklch */ color: oklch(57.5% 0.092 210.6);
Tailwind
colors: {
  custom: {
    50: '#70aab5',
    500: '#1f8797',
    950: '#000000',
  },
}
SCSS
$custom: #1f8797;
$custom-light: #70aab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8797",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 188,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.09179,
    "h": 210.6
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#1F8797
secondary
#BF6152
accent
#563FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8797

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

Preview Lab → · Contrast checker → · Palette generator →

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