#1F7D8F#1F7D8F

#1F7D8F is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.087 H 213.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F7D8F
RGBrgb(31, 125, 143)
HSLhsl(190, 64%, 34%)
HSVhsv(190, 78%, 56%)
CMYKcmyk(78.3%, 12.6%, 0%, 43.9%)
CIE-LABlab(48.18, -20.01, -17.38)
CIE-LCHlch(48.18, 26.50, 220.99°)
OKLaboklab(54.54% -0.0723 -0.0485)
OKLCHoklch(54.54% 0.087 213.8)
XYZxyz(12.8545, 16.9401, 28.5736)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D8F #8F311F
analogous
#1F8F69 #1F7D8F #1F458F
triadic
#1F7D8F #8F1F7D #7D8F1F
tetradic
#1F7D8F #691F8F #8F311F #458F1F
square
#1F7D8F #691F8F #8F311F #458F1F
split-complementary
#1F7D8F #8F1F45 #8F691F
monochromatic
#09252A #14515D #1F7D8F #2AA9C1 #4FC3D9

Accessibility & contrast

On white

4.79
#1F7D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F7D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D8F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D8F#FFFFFF#000000##FFFFFF
##1F7D8F1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707990
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7d8f;
/* rgb */ color: rgb(31, 125, 143);
/* oklch */ color: oklch(54.5% 0.087 213.8);
Tailwind
colors: {
  custom: {
    50: '#6ea3af',
    500: '#1f7d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d8f;
$custom-light: #6ea3af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d8f",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 143
  },
  "hsl": {
    "h": 189.643,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.08706,
    "h": 213.8
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#1F7D8F
secondary
#BC604E
accent
#5B40E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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