#1F897B#1F897B

#1F897B is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.9% C 0.094 H 181.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F897B
RGBrgb(31, 137, 123)
HSLhsl(172, 63%, 33%)
HSVhsv(172, 77%, 54%)
CMYKcmyk(77.4%, 0%, 10.2%, 46.3%)
CIE-LABlab(51.39, -32.32, -0.86)
CIE-LCHlch(51.39, 32.34, 181.52°)
OKLaboklab(56.92% -0.0941 -0.0028)
OKLCHoklch(56.92% 0.094 181.7)
XYZxyz(13.0841, 19.6111, 21.8308)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F897B #891F2D
analogous
#1F8946 #1F897B #1F6289
triadic
#1F897B #7B1F89 #897B1F
tetradic
#1F897B #461F89 #891F2D #62891F
square
#1F897B #461F89 #891F2D #62891F
split-complementary
#1F897B #891F62 #89461F
monochromatic
#082521 #14574E #1F897B #2ABBA8 #4CD6C4

Accessibility & contrast

On white

4.27
#1F897B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F897B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F897B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F897B#FFFFFF#000000##000000
##1F897B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817A
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f897b;
/* rgb */ color: rgb(31, 137, 123);
/* oklch */ color: oklch(56.9% 0.094 181.7);
Tailwind
colors: {
  custom: {
    50: '#6eaca1',
    500: '#1f897b',
    950: '#000000',
  },
}
SCSS
$custom: #1f897b;
$custom-light: #6eaca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f897b",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 123
  },
  "hsl": {
    "h": 172.075,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.09412,
    "h": 181.7
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

primary
#1F897B
secondary
#B94B59
accent
#4257E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F897B

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

Preview Lab → · Contrast checker → · Palette generator →

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