#1F7981#1F7981

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

Color values

HEX#1F7981
RGBrgb(31, 121, 129)
HSLhsl(185, 61%, 31%)
HSVhsv(185, 76%, 51%)
CMYKcmyk(76%, 6.2%, 0%, 49.4%)
CIE-LABlab(46.38, -22.56, -11.85)
CIE-LCHlch(46.38, 25.48, 207.72°)
OKLaboklab(52.91% -0.0743 -0.0329)
OKLCHoklch(52.91% 0.081 203.9)
XYZxyz(11.3631, 15.5497, 23.1671)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7981 #81271F
analogous
#1F8158 #1F7981 #1F4881
triadic
#1F7981 #811F79 #79811F
tetradic
#1F7981 #581F81 #81271F #48811F
square
#1F7981 #581F81 #81271F #48811F
split-complementary
#1F7981 #811F48 #81581F
monochromatic
#071C1E #134B50 #1F7981 #2BA7B2 #47C8D3

Accessibility & contrast

On white

5.11
#1F7981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F7981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7981
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7981#FFFFFF#000000##FFFFFF
##1F79811.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#616A81
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7981;
/* rgb */ color: rgb(31, 121, 129);
/* oklch */ color: oklch(52.9% 0.081 203.9);
Tailwind
colors: {
  custom: {
    50: '#6ca0a5',
    500: '#1f7981',
    950: '#000000',
  },
}
SCSS
$custom: #1f7981;
$custom-light: #6ca0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7981",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 129
  },
  "hsl": {
    "h": 184.898,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.08128,
    "h": 203.9
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#1F7981
secondary
#B45148
accent
#5143E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7981

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

Preview Lab → · Contrast checker → · Palette generator →

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