#1F8799#1F8799

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

Color values

HEX#1F8799
RGBrgb(31, 135, 153)
HSLhsl(189, 66%, 36%)
HSVhsv(189, 80%, 60%)
CMYKcmyk(79.7%, 11.8%, 0%, 40%)
CIE-LABlab(51.74, -21.94, -17.80)
CIE-LCHlch(51.74, 28.25, 219.05°)
OKLaboklab(57.54% -0.0782 -0.0496)
OKLCHoklch(57.54% 0.093 212.4)
XYZxyz(14.9763, 19.9173, 33.1859)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8799 #99311F
analogous
#1F996E #1F8799 #1F4A99
triadic
#1F8799 #991F87 #87991F
tetradic
#1F8799 #6E1F99 #99311F #4A991F
square
#1F8799 #6E1F99 #99311F #4A991F
split-complementary
#1F8799 #991F4A #996E1F
monochromatic
#0A2D33 #155A66 #1F8799 #29B4CC #56C9DD

Accessibility & contrast

On white

4.21
#1F8799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8799#FFFFFF#000000##000000
##1F87991.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79829A
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8799;
/* rgb */ color: rgb(31, 135, 153);
/* oklch */ color: oklch(57.5% 0.093 212.4);
Tailwind
colors: {
  custom: {
    50: '#71aab7',
    500: '#1f8799',
    950: '#000000',
  },
}
SCSS
$custom: #1f8799;
$custom-light: #71aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8799",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 153
  },
  "hsl": {
    "h": 188.852,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.09261,
    "h": 212.4
  },
  "luminance": 0.19919
}

Semantic roles & 50–950 ramp

primary
#1F8799
secondary
#C06454
accent
#583FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8799

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

Preview Lab → · Contrast checker → · Palette generator →

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