#1F767F#1F767F

#1F767F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 52.0% C 0.080 H 205.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F767F
RGBrgb(31, 118, 127)
HSLhsl(186, 61%, 31%)
HSVhsv(186, 76%, 50%)
CMYKcmyk(75.6%, 7.1%, 0%, 50.2%)
CIE-LABlab(45.33, -21.64, -12.24)
CIE-LCHlch(45.33, 24.86, 209.50°)
OKLaboklab(52.04% -0.072 -0.034)
OKLCHoklch(52.04% 0.08 205.3)
XYZxyz(10.8726, 14.7792, 22.3542)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F767F #7F281F
analogous
#1F7F58 #1F767F #1F467F
triadic
#1F767F #7F1F76 #767F1F
tetradic
#1F767F #581F7F #7F281F #467F1F
square
#1F767F #581F7F #7F281F #467F1F
split-complementary
#1F767F #7F1F46 #7F581F
monochromatic
#071B1D #13484E #1F767F #2BA4B0 #46C5D2

Accessibility & contrast

On white

5.31
#1F767F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1F767F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F767F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F767F#FFFFFF#000000##FFFFFF
##1F767F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7180
Deuteranopia (green-blind)
#5E677F
Tritanopia (blue-blind)
#007B79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f767f;
/* rgb */ color: rgb(31, 118, 127);
/* oklch */ color: oklch(52.0% 0.080 205.3);
Tailwind
colors: {
  custom: {
    50: '#6b9ea4',
    500: '#1f767f',
    950: '#000000',
  },
}
SCSS
$custom: #1f767f;
$custom-light: #6b9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f767f",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 127
  },
  "hsl": {
    "h": 185.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.07966,
    "h": 205.3
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#1F767F
secondary
#B25248
accent
#5344E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F767F

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

Preview Lab → · Contrast checker → · Palette generator →

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