#1F7D8D#1F7D8D

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

Color values

HEX#1F7D8D
RGBrgb(31, 125, 141)
HSLhsl(189, 64%, 34%)
HSVhsv(189, 78%, 55%)
CMYKcmyk(78%, 11.3%, 0%, 44.7%)
CIE-LABlab(48.11, -20.68, -16.32)
CIE-LCHlch(48.11, 26.35, 218.28°)
OKLaboklab(54.45% -0.0732 -0.0455)
OKLCHoklch(54.45% 0.086 211.9)
XYZxyz(12.7043, 16.8801, 27.7827)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D8D #8D2F1F
analogous
#1F8D66 #1F7D8D #1F468D
triadic
#1F7D8D #8D1F7D #7D8D1F
tetradic
#1F7D8D #661F8D #8D2F1F #468D1F
square
#1F7D8D #661F8D #8D2F1F #468D1F
split-complementary
#1F7D8D #8D1F46 #8D661F
monochromatic
#092429 #14515B #1F7D8D #2AA9BF #4EC4D8

Accessibility & contrast

On white

4.80
#1F7D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F7D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D8D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D8D#FFFFFF#000000##FFFFFF
##1F7D8D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7d8d;
/* rgb */ color: rgb(31, 125, 141);
/* oklch */ color: oklch(54.5% 0.086 211.9);
Tailwind
colors: {
  custom: {
    50: '#6ea3ae',
    500: '#1f7d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d8d;
$custom-light: #6ea3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d8d",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 188.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.08615,
    "h": 211.9
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#1F7D8D
secondary
#BB5D4D
accent
#5941E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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