#1F7980#1F7980

#1F7980 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.081 H 202.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7980
RGBrgb(31, 121, 128)
HSLhsl(184, 61%, 31%)
HSVhsv(184, 76%, 50%)
CMYKcmyk(75.8%, 5.5%, 0%, 49.8%)
CIE-LABlab(46.34, -22.88, -11.31)
CIE-LCHlch(46.34, 25.53, 206.30°)
OKLaboklab(52.87% -0.0748 -0.0314)
OKLCHoklch(52.87% 0.081 202.8)
XYZxyz(11.2970, 15.5232, 22.8188)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7980 #80261F
analogous
#1F8056 #1F7980 #1F4880
triadic
#1F7980 #801F79 #79801F
tetradic
#1F7980 #561F80 #80261F #48801F
square
#1F7980 #561F80 #80261F #48801F
split-complementary
#1F7980 #801F48 #80561F
monochromatic
#071C1D #134A4F #1F7980 #2BA8B1 #47C8D2

Accessibility & contrast

On white

5.12
#1F7980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1F7980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7980
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7980#FFFFFF#000000##FFFFFF
##1F79801.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7481
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7980;
/* rgb */ color: rgb(31, 121, 128);
/* oklch */ color: oklch(52.9% 0.081 202.8);
Tailwind
colors: {
  custom: {
    50: '#6ca0a4',
    500: '#1f7980',
    950: '#000000',
  },
}
SCSS
$custom: #1f7980;
$custom-light: #6ca0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7980",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 128
  },
  "hsl": {
    "h": 184.33,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.0811,
    "h": 202.8
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#1F7980
secondary
#B35048
accent
#4F44E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7980

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

Preview Lab → · Contrast checker → · Palette generator →

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