#1F767B#1F767B

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

Color values

HEX#1F767B
RGBrgb(31, 118, 123)
HSLhsl(183, 60%, 30%)
HSVhsv(183, 75%, 48%)
CMYKcmyk(74.8%, 4.1%, 0%, 51.8%)
CIE-LABlab(45.19, -22.94, -10.07)
CIE-LCHlch(45.19, 25.06, 203.70°)
OKLaboklab(51.88% -0.0739 -0.028)
OKLCHoklch(51.88% 0.079 200.7)
XYZxyz(10.6171, 14.6770, 21.0084)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F767B #7B241F
analogous
#1F7B52 #1F767B #1F487B
triadic
#1F767B #7B1F76 #767B1F
tetradic
#1F767B #521F7B #7B241F #487B1F
square
#1F767B #521F7B #7B241F #487B1F
split-complementary
#1F767B #7B1F48 #7B521F
monochromatic
#061819 #13474A #1F767B #2BA5AC #44C8D0

Accessibility & contrast

On white

5.34
#1F767B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F767B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F767B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F767B#FFFFFF#000000##FFFFFF
##1F767B1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D717B
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f767b;
/* rgb */ color: rgb(31, 118, 123);
/* oklch */ color: oklch(51.9% 0.079 200.7);
Tailwind
colors: {
  custom: {
    50: '#6b9ea1',
    500: '#1f767b',
    950: '#000000',
  },
}
SCSS
$custom: #1f767b;
$custom-light: #6b9ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f767b",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 123
  },
  "hsl": {
    "h": 183.261,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.07898,
    "h": 200.7
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#1F767B
secondary
#AE4D48
accent
#4D45E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F767B

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

Preview Lab → · Contrast checker → · Palette generator →

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