#1F8798#1F8798

#1F8798 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.092 H 211.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F8798
RGBrgb(31, 135, 152)
HSLhsl(188, 66%, 36%)
HSVhsv(188, 80%, 60%)
CMYKcmyk(79.6%, 11.2%, 0%, 40.4%)
CIE-LABlab(51.71, -22.27, -17.27)
CIE-LCHlch(51.71, 28.19, 217.79°)
OKLaboklab(57.49% -0.0786 -0.0481)
OKLCHoklch(57.49% 0.092 211.5)
XYZxyz(14.8941, 19.8844, 32.7528)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8798 #98301F
analogous
#1F986C #1F8798 #1F4A98
triadic
#1F8798 #981F87 #87981F
tetradic
#1F8798 #6C1F98 #98301F #4A981F
square
#1F8798 #6C1F98 #98301F #4A981F
split-complementary
#1F8798 #981F4A #986C1F
monochromatic
#0A2D32 #155A65 #1F8798 #29B4CB #55C9DC

Accessibility & contrast

On white

4.22
#1F8798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1F8798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8798
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8798#FFFFFF#000000##000000
##1F87981.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798299
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8798;
/* rgb */ color: rgb(31, 135, 152);
/* oklch */ color: oklch(57.5% 0.092 211.5);
Tailwind
colors: {
  custom: {
    50: '#71aab6',
    500: '#1f8798',
    950: '#000000',
  },
}
SCSS
$custom: #1f8798;
$custom-light: #71aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8798",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 188.43,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.09219,
    "h": 211.5
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#1F8798
secondary
#C06253
accent
#573FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8798

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

Preview Lab → · Contrast checker → · Palette generator →

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