#1F8897#1F8897

#1F8897 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.7% C 0.092 H 209.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8897
RGBrgb(31, 136, 151)
HSLhsl(188, 66%, 36%)
HSVhsv(188, 79%, 59%)
CMYKcmyk(79.5%, 9.9%, 0%, 40.8%)
CIE-LABlab(51.99, -23.13, -16.26)
CIE-LCHlch(51.99, 28.27, 215.12°)
OKLaboklab(57.71% -0.0801 -0.0453)
OKLCHoklch(57.71% 0.092 209.5)
XYZxyz(14.9527, 20.1321, 32.3700)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8897 #972E1F
analogous
#1F976A #1F8897 #1F4C97
triadic
#1F8897 #971F88 #88971F
tetradic
#1F8897 #6A1F97 #972E1F #4C971F
square
#1F8897 #6A1F97 #972E1F #4C971F
split-complementary
#1F8897 #971F4C #976A1F
monochromatic
#0A2D31 #155A64 #1F8897 #29B6CA #54CBDC

Accessibility & contrast

On white

4.18
#1F8897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#1F8897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8897
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8897#FFFFFF#000000##000000
##1F88971.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8398
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8897;
/* rgb */ color: rgb(31, 136, 151);
/* oklch */ color: oklch(57.7% 0.092 209.5);
Tailwind
colors: {
  custom: {
    50: '#70abb5',
    500: '#1f8897',
    950: '#000000',
  },
}
SCSS
$custom: #1f8897;
$custom-light: #70abb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8897",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 151
  },
  "hsl": {
    "h": 187.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.09199,
    "h": 209.5
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#1F8897
secondary
#BF6052
accent
#543FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8897

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

Preview Lab → · Contrast checker → · Palette generator →

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