#1F8998#1F8998

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

Color values

HEX#1F8998
RGBrgb(31, 137, 152)
HSLhsl(187, 66%, 36%)
HSVhsv(187, 80%, 60%)
CMYKcmyk(79.6%, 9.9%, 0%, 40.4%)
CIE-LABlab(52.34, -23.32, -16.31)
CIE-LCHlch(52.34, 28.45, 214.97°)
OKLaboklab(58.01% -0.0806 -0.0454)
OKLCHoklch(58.01% 0.093 209.4)
XYZxyz(15.1757, 20.4477, 32.8467)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8998 #982E1F
analogous
#1F986A #1F8998 #1F4C98
triadic
#1F8998 #981F89 #89981F
tetradic
#1F8998 #6A1F98 #982E1F #4C981F
square
#1F8998 #6A1F98 #982E1F #4C981F
split-complementary
#1F8998 #981F4C #986A1F
monochromatic
#0A2D32 #155B65 #1F8998 #29B7CB #55CCDC

Accessibility & contrast

On white

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

On black

5.09
#1F8998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8998
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8998#FFFFFF#000000##000000
##1F89981.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8499
Deuteranopia (green-blind)
#6C7898
Tritanopia (blue-blind)
#00908E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8998;
/* rgb */ color: rgb(31, 137, 152);
/* oklch */ color: oklch(58.0% 0.093 209.4);
Tailwind
colors: {
  custom: {
    50: '#71abb6',
    500: '#1f8998',
    950: '#000000',
  },
}
SCSS
$custom: #1f8998;
$custom-light: #71abb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8998",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 152
  },
  "hsl": {
    "h": 187.438,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.09255,
    "h": 209.4
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8998

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

Preview Lab → · Contrast checker → · Palette generator →

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