#1F8778#1F8778

#1F8778 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.3% C 0.093 H 180.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8778
RGBrgb(31, 135, 120)
HSLhsl(171, 63%, 33%)
HSVhsv(171, 77%, 53%)
CMYKcmyk(77%, 0%, 11.1%, 47.1%)
CIE-LABlab(50.66, -32.25, -0.19)
CIE-LCHlch(50.66, 32.25, 180.34°)
OKLaboklab(56.29% -0.0934 -0.001)
OKLCHoklch(56.29% 0.093 180.6)
XYZxyz(12.6175, 18.9738, 20.7630)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8778 #871F2E
analogous
#1F8744 #1F8778 #1F6287
triadic
#1F8778 #781F87 #87781F
tetradic
#1F8778 #441F87 #871F2E #62871F
square
#1F8778 #441F87 #871F2E #62871F
split-complementary
#1F8778 #871F62 #87441F
monochromatic
#082320 #14554C #1F8778 #2AB9A4 #4BD6C2

Accessibility & contrast

On white

4.38
#1F8778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#1F8778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8778
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8778#FFFFFF#000000##000000
##1F87781.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F77
Deuteranopia (green-blind)
#737479
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8778;
/* rgb */ color: rgb(31, 135, 120);
/* oklch */ color: oklch(56.3% 0.093 180.6);
Tailwind
colors: {
  custom: {
    50: '#6daa9e',
    500: '#1f8778',
    950: '#000000',
  },
}
SCSS
$custom: #1f8778;
$custom-light: #6daa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8778",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 171.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.09346,
    "h": 180.6
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#1F8778
secondary
#B84A5A
accent
#425AE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8778

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

Preview Lab → · Contrast checker → · Palette generator →

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