#1F879B#1F879B

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

Color values

HEX#1F879B
RGBrgb(31, 135, 155)
HSLhsl(190, 67%, 36%)
HSVhsv(190, 80%, 61%)
CMYKcmyk(80%, 12.9%, 0%, 39.2%)
CIE-LABlab(51.82, -21.27, -18.84)
CIE-LCHlch(51.82, 28.41, 221.54°)
OKLaboklab(57.62% -0.0773 -0.0526)
OKLCHoklch(57.62% 0.094 214.2)
XYZxyz(15.1429, 19.9839, 34.0632)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F879B #9B331F
analogous
#1F9B71 #1F879B #1F499B
triadic
#1F879B #9B1F87 #879B1F
tetradic
#1F879B #711F9B #9B331F #499B1F
square
#1F879B #711F9B #9B331F #499B1F
split-complementary
#1F879B #9B1F49 #9B711F
monochromatic
#0B2E35 #155B68 #1F879B #29B3CE #57C8DD

Accessibility & contrast

On white

4.20
#1F879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F879B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F879B#FFFFFF#000000##000000
##1F879B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79829C
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f879b;
/* rgb */ color: rgb(31, 135, 155);
/* oklch */ color: oklch(57.6% 0.094 214.2);
Tailwind
colors: {
  custom: {
    50: '#71aab8',
    500: '#1f879b',
    950: '#000000',
  },
}
SCSS
$custom: #1f879b;
$custom-light: #71aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f879b",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 189.677,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.09353,
    "h": 214.2
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#1F879B
secondary
#C16655
accent
#5A3EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F879B

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

Preview Lab → · Contrast checker → · Palette generator →

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