#1F7A80#1F7A80

#1F7A80 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.082 H 201.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F7A80
RGBrgb(31, 122, 128)
HSLhsl(184, 61%, 31%)
HSVhsv(184, 76%, 50%)
CMYKcmyk(75.8%, 4.7%, 0%, 49.8%)
CIE-LABlab(46.67, -23.40, -10.82)
CIE-LCHlch(46.67, 25.78, 204.81°)
OKLaboklab(53.13% -0.0758 -0.03)
OKLCHoklch(53.13% 0.082 201.6)
XYZxyz(11.4192, 15.7675, 22.8595)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A80 #80251F
analogous
#1F8055 #1F7A80 #1F4980
triadic
#1F7A80 #801F7A #7A801F
tetradic
#1F7A80 #551F80 #80251F #49801F
square
#1F7A80 #551F80 #80251F #49801F
split-complementary
#1F7A80 #801F49 #80551F
monochromatic
#071C1D #134B4F #1F7A80 #2BA9B1 #47CAD2

Accessibility & contrast

On white

5.06
#1F7A80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1F7A80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A80
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A80#FFFFFF#000000##FFFFFF
##1F7A801.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707480
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#007F7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7a80;
/* rgb */ color: rgb(31, 122, 128);
/* oklch */ color: oklch(53.1% 0.082 201.6);
Tailwind
colors: {
  custom: {
    50: '#6ca1a4',
    500: '#1f7a80',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a80;
$custom-light: #6ca1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a80",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 128
  },
  "hsl": {
    "h": 183.711,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.08157,
    "h": 201.6
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#1F7A80
secondary
#B34E48
accent
#4E44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F0F
muted
#7A7E7F

Preview Lab

Preview with #1F7A80

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

Preview Lab → · Contrast checker → · Palette generator →

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