#1F8997#1F8997

#1F8997 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 58.0% C 0.092 H 208.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8997
RGBrgb(31, 137, 151)
HSLhsl(187, 66%, 36%)
HSVhsv(187, 79%, 59%)
CMYKcmyk(79.5%, 9.3%, 0%, 40.8%)
CIE-LABlab(52.30, -23.64, -15.78)
CIE-LCHlch(52.30, 28.43, 213.72°)
OKLaboklab(57.96% -0.0811 -0.0439)
OKLCHoklch(57.96% 0.092 208.5)
XYZxyz(15.0942, 20.4151, 32.4171)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8997 #972D1F
analogous
#1F9769 #1F8997 #1F4D97
triadic
#1F8997 #971F89 #89971F
tetradic
#1F8997 #691F97 #972D1F #4D971F
square
#1F8997 #691F97 #972D1F #4D971F
split-complementary
#1F8997 #971F4D #97691F
monochromatic
#0A2D31 #155B64 #1F8997 #29B7CA #54CCDC

Accessibility & contrast

On white

4.13
#1F8997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8997
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8997#FFFFFF#000000##000000
##1F89971.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8498
Deuteranopia (green-blind)
#6C7897
Tritanopia (blue-blind)
#00908D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8997;
/* rgb */ color: rgb(31, 137, 151);
/* oklch */ color: oklch(58.0% 0.092 208.5);
Tailwind
colors: {
  custom: {
    50: '#71abb5',
    500: '#1f8997',
    950: '#000000',
  },
}
SCSS
$custom: #1f8997;
$custom-light: #71abb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8997",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 151
  },
  "hsl": {
    "h": 187,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.09221,
    "h": 208.5
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#1F8997
secondary
#BF5F52
accent
#533FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8997

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

Preview Lab → · Contrast checker → · Palette generator →

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