#1F8378#1F8378

#1F8378 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.2% C 0.089 H 184.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8378
RGBrgb(31, 131, 120)
HSLhsl(173, 62%, 32%)
HSVhsv(173, 76%, 51%)
CMYKcmyk(76.3%, 0%, 8.4%, 48.6%)
CIE-LABlab(49.35, -30.36, -2.11)
CIE-LCHlch(49.35, 30.43, 183.97°)
OKLaboklab(55.23% -0.0892 -0.0062)
OKLCHoklch(55.23% 0.089 184)
XYZxyz(12.0699, 17.8785, 20.5804)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8378 #831F2A
analogous
#1F8346 #1F8378 #1F5C83
triadic
#1F8378 #781F83 #83781F
tetradic
#1F8378 #461F83 #831F2A #5C831F
square
#1F8378 #461F83 #831F2A #5C831F
split-complementary
#1F8378 #831F5C #83461F
monochromatic
#08201D #13524B #1F8378 #2BB4A5 #49D4C5

Accessibility & contrast

On white

4.59
#1F8378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F8378 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8378
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8378#FFFFFF#000000##FFFFFF
##1F83781.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B78
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8378;
/* rgb */ color: rgb(31, 131, 120);
/* oklch */ color: oklch(55.2% 0.089 184.0);
Tailwind
colors: {
  custom: {
    50: '#6ca79e',
    500: '#1f8378',
    950: '#000000',
  },
}
SCSS
$custom: #1f8378;
$custom-light: #6ca79e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8378",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 120
  },
  "hsl": {
    "h": 173.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.08942,
    "h": 184
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#1F8378
secondary
#B64854
accent
#4355E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8378

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

Preview Lab → · Contrast checker → · Palette generator →

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