#1F8780#1F8780

#1F8780 is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.090 H 188.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8780
RGBrgb(31, 135, 128)
HSLhsl(176, 63%, 33%)
HSVhsv(176, 77%, 53%)
CMYKcmyk(77%, 0%, 5.2%, 47.1%)
CIE-LABlab(50.89, -29.90, -4.51)
CIE-LCHlch(50.89, 30.24, 188.58°)
OKLaboklab(56.56% -0.0896 -0.0127)
OKLCHoklch(56.56% 0.09 188.1)
XYZxyz(13.1235, 19.1762, 23.4276)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8780 #871F26
analogous
#1F874C #1F8780 #1F5A87
triadic
#1F8780 #801F87 #87801F
tetradic
#1F8780 #4C1F87 #871F26 #5A871F
square
#1F8780 #4C1F87 #871F26 #5A871F
split-complementary
#1F8780 #871F5A #874C1F
monochromatic
#082322 #145551 #1F8780 #2AB9AF #4BD6CC

Accessibility & contrast

On white

4.34
#1F8780 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#1F8780 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8780
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8780#FFFFFF#000000##000000
##1F87801.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F80
Deuteranopia (green-blind)
#717581
Tritanopia (blue-blind)
#008B85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8780;
/* rgb */ color: rgb(31, 135, 128);
/* oklch */ color: oklch(56.6% 0.090 188.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa4',
    500: '#1f8780',
    950: '#000000',
  },
}
SCSS
$custom: #1f8780;
$custom-light: #6eaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8780",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 128
  },
  "hsl": {
    "h": 175.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.09046,
    "h": 188.1
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#1F8780
secondary
#B84A51
accent
#424DE6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8780

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

Preview Lab → · Contrast checker → · Palette generator →

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