#1F6972#1F6972

#1F6972 is a mid, moderate teal. Relative luminance 0.116; OKLCH L 48.0% C 0.071 H 206.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#1F6972
RGBrgb(31, 105, 114)
HSLhsl(187, 57%, 28%)
HSVhsv(187, 73%, 45%)
CMYKcmyk(72.8%, 7.9%, 0%, 55.3%)
CIE-LABlab(40.59, -18.98, -11.59)
CIE-LCHlch(40.59, 22.24, 211.41°)
OKLaboklab(48.05% -0.0638 -0.0322)
OKLCHoklch(48.05% 0.071 206.8)
XYZxyz(8.6526, 11.6084, 17.7009)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6972 #72281F
analogous
#1F7251 #1F6972 #1F3F72
triadic
#1F6972 #721F69 #69721F
tetradic
#1F6972 #511F72 #72281F #3F721F
square
#1F6972 #511F72 #72281F #3F721F
split-complementary
#1F6972 #721F3F #72511F
monochromatic
#071618 #123D42 #1F6972 #2C95A2 #40BCCB

Accessibility & contrast

On white

6.32
#1F6972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#1F6972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6972
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6972#FFFFFF#000000##FFFFFF
##1F69721.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#006E6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6972;
/* rgb */ color: rgb(31, 105, 114);
/* oklch */ color: oklch(48.0% 0.071 206.8);
Tailwind
colors: {
  custom: {
    50: '#68949a',
    500: '#1f6972',
    950: '#000000',
  },
}
SCSS
$custom: #1f6972;
$custom-light: #68949a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6972",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 114
  },
  "hsl": {
    "h": 186.506,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48049,
    "c": 0.07147,
    "h": 206.8
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#1F6972
secondary
#A65147
accent
#5847E0
background
#F6F9F9
surface
#EBF1F2
border
#C6CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1F6972

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

Preview Lab → · Contrast checker → · Palette generator →

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