#1F727E#1F727E

#1F727E is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.9% C 0.078 H 209.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F727E
RGBrgb(31, 114, 126)
HSLhsl(188, 61%, 31%)
HSVhsv(188, 75%, 49%)
CMYKcmyk(75.4%, 9.5%, 0%, 50.6%)
CIE-LABlab(43.99, -19.84, -13.68)
CIE-LCHlch(43.99, 24.10, 214.59°)
OKLaboklab(50.94% -0.0682 -0.038)
OKLCHoklch(50.94% 0.078 209.2)
XYZxyz(10.3467, 13.8311, 21.8590)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F727E #7E2B1F
analogous
#1F7E5A #1F727E #1F427E
triadic
#1F727E #7E1F72 #727E1F
tetradic
#1F727E #5A1F7E #7E2B1F #427E1F
square
#1F727E #5A1F7E #7E2B1F #427E1F
split-complementary
#1F727E #7E1F42 #7E5A1F
monochromatic
#07191C #13464D #1F727E #2B9EAF #46C0D1

Accessibility & contrast

On white

5.58
#1F727E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1F727E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F727E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F727E#FFFFFF#000000##FFFFFF
##1F727E1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E7F
Deuteranopia (green-blind)
#5A647E
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f727e;
/* rgb */ color: rgb(31, 114, 126);
/* oklch */ color: oklch(50.9% 0.078 209.2);
Tailwind
colors: {
  custom: {
    50: '#6b9aa3',
    500: '#1f727e',
    950: '#000000',
  },
}
SCSS
$custom: #1f727e;
$custom-light: #6b9aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f727e",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 126
  },
  "hsl": {
    "h": 187.579,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.0781,
    "h": 209.2
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#1F727E
secondary
#B15548
accent
#5844E4
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#070E0F
muted
#7A7E7F

Preview Lab

Preview with #1F727E

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

Preview Lab → · Contrast checker → · Palette generator →

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