#1F767E#1F767E

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

Color values

HEX#1F767E
RGBrgb(31, 118, 126)
HSLhsl(185, 61%, 31%)
HSVhsv(185, 75%, 49%)
CMYKcmyk(75.4%, 6.3%, 0%, 50.6%)
CIE-LABlab(45.29, -21.97, -11.70)
CIE-LCHlch(45.29, 24.89, 208.05°)
OKLaboklab(52% -0.0725 -0.0325)
OKLCHoklch(52% 0.079 204.2)
XYZxyz(10.8077, 14.7532, 22.0127)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F767E #7E271F
analogous
#1F7E56 #1F767E #1F467E
triadic
#1F767E #7E1F76 #767E1F
tetradic
#1F767E #561F7E #7E271F #467E1F
square
#1F767E #561F7E #7E271F #467E1F
split-complementary
#1F767E #7E1F46 #7E561F
monochromatic
#071A1C #13484D #1F767E #2BA4AF #46C6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F767E#FFFFFF#000000##FFFFFF
##1F767E1.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)
#6C717F
Deuteranopia (green-blind)
#5F677E
Tritanopia (blue-blind)
#007B78
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f767e;
/* rgb */ color: rgb(31, 118, 126);
/* oklch */ color: oklch(52.0% 0.079 204.2);
Tailwind
colors: {
  custom: {
    50: '#6b9ea3',
    500: '#1f767e',
    950: '#000000',
  },
}
SCSS
$custom: #1f767e;
$custom-light: #6b9ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f767e",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 126
  },
  "hsl": {
    "h": 185.053,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.07944,
    "h": 204.2
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#1F767E
secondary
#B15148
accent
#5244E4
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F767E

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

Preview Lab → · Contrast checker → · Palette generator →

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