#1F767D#1F767D

#1F767D is a mid, moderate teal. Relative luminance 0.147; OKLCH L 52.0% C 0.079 H 203.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F767D
RGBrgb(31, 118, 125)
HSLhsl(184, 60%, 31%)
HSVhsv(184, 75%, 49%)
CMYKcmyk(75.2%, 5.6%, 0%, 51%)
CIE-LABlab(45.26, -22.29, -11.16)
CIE-LCHlch(45.26, 24.93, 206.59°)
OKLaboklab(51.96% -0.0729 -0.031)
OKLCHoklch(51.96% 0.079 203)
XYZxyz(10.7435, 14.7276, 21.6745)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F767D #7D261F
analogous
#1F7D55 #1F767D #1F477D
triadic
#1F767D #7D1F76 #767D1F
tetradic
#1F767D #551F7D #7D261F #477D1F
square
#1F767D #551F7D #7D261F #477D1F
split-complementary
#1F767D #7D1F47 #7D551F
monochromatic
#07191B #13484C #1F767D #2BA4AE #45C7D1

Accessibility & contrast

On white

5.32
#1F767D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F767D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F767D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F767D#FFFFFF#000000##FFFFFF
##1F767D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C717E
Deuteranopia (green-blind)
#5F677D
Tritanopia (blue-blind)
#007B78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f767d;
/* rgb */ color: rgb(31, 118, 125);
/* oklch */ color: oklch(52.0% 0.079 203.0);
Tailwind
colors: {
  custom: {
    50: '#6b9ea2',
    500: '#1f767d',
    950: '#000000',
  },
}
SCSS
$custom: #1f767d;
$custom-light: #6b9ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f767d",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 125
  },
  "hsl": {
    "h": 184.468,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.07925,
    "h": 203
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#1F767D
secondary
#B04F48
accent
#5044E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #1F767D

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

Preview Lab → · Contrast checker → · Palette generator →

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