#1F7982#1F7982

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

Color values

HEX#1F7982
RGBrgb(31, 121, 130)
HSLhsl(185, 61%, 32%)
HSVhsv(185, 76%, 51%)
CMYKcmyk(76.2%, 6.9%, 0%, 49%)
CIE-LABlab(46.41, -22.23, -12.39)
CIE-LCHlch(46.41, 25.45, 209.14°)
OKLaboklab(52.95% -0.0739 -0.0344)
OKLCHoklch(52.95% 0.081 205)
XYZxyz(11.4299, 15.5764, 23.5189)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7982 #82281F
analogous
#1F825A #1F7982 #1F4882
triadic
#1F7982 #821F79 #79821F
tetradic
#1F7982 #5A1F82 #82281F #48821F
square
#1F7982 #5A1F82 #82281F #48821F
split-complementary
#1F7982 #821F48 #825A1F
monochromatic
#071D1F #134B51 #1F7982 #2BA7B3 #48C7D3

Accessibility & contrast

On white

5.10
#1F7982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7982
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7982#FFFFFF#000000##FFFFFF
##1F79821.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7483
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7982;
/* rgb */ color: rgb(31, 121, 130);
/* oklch */ color: oklch(53.0% 0.081 205.0);
Tailwind
colors: {
  custom: {
    50: '#6ca0a6',
    500: '#1f7982',
    950: '#000000',
  },
}
SCSS
$custom: #1f7982;
$custom-light: #6ca0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7982",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 130
  },
  "hsl": {
    "h": 185.455,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.08149,
    "h": 205
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#1F7982
secondary
#B55248
accent
#5243E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7982

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

Preview Lab → · Contrast checker → · Palette generator →

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