#1F879A#1F879A

#1F879A is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.6% C 0.093 H 213.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F879A
RGBrgb(31, 135, 154)
HSLhsl(189, 66%, 36%)
HSVhsv(189, 80%, 60%)
CMYKcmyk(79.9%, 12.3%, 0%, 39.6%)
CIE-LABlab(51.78, -21.60, -18.32)
CIE-LCHlch(51.78, 28.32, 220.30°)
OKLaboklab(57.58% -0.0778 -0.0511)
OKLCHoklch(57.58% 0.093 213.3)
XYZxyz(15.0593, 19.9505, 33.6227)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879A #9A321F
analogous
#1F9A70 #1F879A #1F4A9A
triadic
#1F879A #9A1F87 #879A1F
tetradic
#1F879A #701F9A #9A321F #4A9A1F
square
#1F879A #701F9A #9A321F #4A9A1F
split-complementary
#1F879A #9A1F4A #9A701F
monochromatic
#0A2E34 #155A67 #1F879A #29B4CD #56C8DD

Accessibility & contrast

On white

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

On black

4.99
#1F879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F879A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F879A#FFFFFF#000000##000000
##1F879A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f879a;
/* rgb */ color: rgb(31, 135, 154);
/* oklch */ color: oklch(57.6% 0.093 213.3);
Tailwind
colors: {
  custom: {
    50: '#71aab7',
    500: '#1f879a',
    950: '#000000',
  },
}
SCSS
$custom: #1f879a;
$custom-light: #71aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879a",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 189.268,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.09306,
    "h": 213.3
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#1F879A
secondary
#C16554
accent
#593EE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879A

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

Preview Lab → · Contrast checker → · Palette generator →

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