#1F7C8D#1F7C8D

#1F7C8D is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.2% C 0.086 H 213.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F7C8D
RGBrgb(31, 124, 141)
HSLhsl(189, 64%, 34%)
HSVhsv(189, 78%, 55%)
CMYKcmyk(78%, 12.1%, 0%, 44.7%)
CIE-LABlab(47.79, -20.15, -16.81)
CIE-LCHlch(47.79, 26.24, 219.84°)
OKLaboklab(54.2% -0.0721 -0.0469)
OKLCHoklch(54.2% 0.086 213)
XYZxyz(12.5784, 16.6282, 27.7408)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C8D #8D301F
analogous
#1F8D67 #1F7C8D #1F458D
triadic
#1F7C8D #8D1F7C #7C8D1F
tetradic
#1F7C8D #671F8D #8D301F #458D1F
square
#1F7C8D #671F8D #8D301F #458D1F
split-complementary
#1F7C8D #8D1F45 #8D671F
monochromatic
#092429 #14505B #1F7C8D #2AA8BF #4EC3D8

Accessibility & contrast

On white

4.85
#1F7C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F7C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C8D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C8D#FFFFFF#000000##FFFFFF
##1F7C8D1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788E
Deuteranopia (green-blind)
#606D8D
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7c8d;
/* rgb */ color: rgb(31, 124, 141);
/* oklch */ color: oklch(54.2% 0.086 213.0);
Tailwind
colors: {
  custom: {
    50: '#6ea2ae',
    500: '#1f7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c8d;
$custom-light: #6ea2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c8d",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 189.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.08602,
    "h": 213
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#1F7C8D
secondary
#BB5E4D
accent
#5B41E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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