#1F7A7D#1F7A7D

#1F7A7D is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.081 H 198.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F7A7D
RGBrgb(31, 122, 125)
HSLhsl(182, 60%, 31%)
HSVhsv(182, 75%, 49%)
CMYKcmyk(75.2%, 2.4%, 0%, 51%)
CIE-LABlab(46.56, -24.37, -9.19)
CIE-LCHlch(46.56, 26.04, 200.67°)
OKLaboklab(53.02% -0.0772 -0.0255)
OKLCHoklch(53.02% 0.081 198.3)
XYZxyz(11.2246, 15.6897, 21.8349)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A7D #7D221F
analogous
#1F7D51 #1F7A7D #1F4B7D
triadic
#1F7A7D #7D1F7A #7A7D1F
tetradic
#1F7A7D #511F7D #7D221F #4B7D1F
square
#1F7A7D #511F7D #7D221F #4B7D1F
split-complementary
#1F7A7D #7D1F4B #7D511F
monochromatic
#071A1B #134A4C #1F7A7D #2BAAAE #45CDD1

Accessibility & contrast

On white

5.07
#1F7A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1F7A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A7D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A7D#FFFFFF#000000##FFFFFF
##1F7A7D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747D
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7a7d;
/* rgb */ color: rgb(31, 122, 125);
/* oklch */ color: oklch(53.0% 0.081 198.3);
Tailwind
colors: {
  custom: {
    50: '#6ba1a2',
    500: '#1f7a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a7d;
$custom-light: #6ba1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a7d",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 125
  },
  "hsl": {
    "h": 181.915,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.08133,
    "h": 198.3
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#1F7A7D
secondary
#B04B48
accent
#4944E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0F
muted
#7A7E7E

Preview Lab

Preview with #1F7A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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