#1F897D#1F897D

#1F897D is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.0% C 0.093 H 183.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F897D
RGBrgb(31, 137, 125)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 77%, 54%)
CMYKcmyk(77.4%, 0%, 8.8%, 46.3%)
CIE-LABlab(51.45, -31.74, -1.94)
CIE-LCHlch(51.45, 31.80, 183.50°)
OKLaboklab(56.99% -0.0931 -0.0057)
OKLCHoklch(56.99% 0.093 183.5)
XYZxyz(13.2106, 19.6617, 22.4969)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F897D #891F2B
analogous
#1F8948 #1F897D #1F6089
triadic
#1F897D #7D1F89 #897D1F
tetradic
#1F897D #481F89 #891F2B #60891F
square
#1F897D #481F89 #891F2B #60891F
split-complementary
#1F897D #891F60 #89481F
monochromatic
#082522 #14574F #1F897D #2ABBAB #4CD6C7

Accessibility & contrast

On white

4.26
#1F897D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1F897D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F897D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F897D#FFFFFF#000000##000000
##1F897D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817D
Deuteranopia (green-blind)
#74767E
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f897d;
/* rgb */ color: rgb(31, 137, 125);
/* oklch */ color: oklch(57.0% 0.093 183.5);
Tailwind
colors: {
  custom: {
    50: '#6eaca2',
    500: '#1f897d',
    950: '#000000',
  },
}
SCSS
$custom: #1f897d;
$custom-light: #6eaca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f897d",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 125
  },
  "hsl": {
    "h": 173.208,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.09328,
    "h": 183.5
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#1F897D
secondary
#B94B57
accent
#4254E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F897D

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

Preview Lab → · Contrast checker → · Palette generator →

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