#1F7B7D#1F7B7D

#1F7B7D is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.3% C 0.082 H 197.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F7B7D
RGBrgb(31, 123, 125)
HSLhsl(181, 60%, 31%)
HSVhsv(181, 75%, 49%)
CMYKcmyk(75.2%, 1.6%, 0%, 51%)
CIE-LABlab(46.89, -24.88, -8.71)
CIE-LCHlch(46.89, 26.36, 199.29°)
OKLaboklab(53.28% -0.0783 -0.0242)
OKLCHoklch(53.28% 0.082 197.2)
XYZxyz(11.3480, 15.9365, 21.8760)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B7D #7D211F
analogous
#1F7D50 #1F7B7D #1F4C7D
triadic
#1F7B7D #7D1F7B #7B7D1F
tetradic
#1F7B7D #501F7D #7D211F #4C7D1F
square
#1F7B7D #501F7D #7D211F #4C7D1F
split-complementary
#1F7B7D #7D1F4C #7D501F
monochromatic
#071A1B #134B4C #1F7B7D #2BABAE #45CED1

Accessibility & contrast

On white

5.01
#1F7B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F7B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B7D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B7D#FFFFFF#000000##FFFFFF
##1F7B7D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757D
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7b7d;
/* rgb */ color: rgb(31, 123, 125);
/* oklch */ color: oklch(53.3% 0.082 197.2);
Tailwind
colors: {
  custom: {
    50: '#6ca1a2',
    500: '#1f7b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b7d;
$custom-light: #6ca1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b7d",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 125
  },
  "hsl": {
    "h": 181.277,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.08194,
    "h": 197.2
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#1F7B7D
secondary
#B04A48
accent
#4844E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0F
muted
#7A7E7E

Preview Lab

Preview with #1F7B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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