#1F757F#1F757F

#1F757F is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.8% C 0.079 H 206.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F757F
RGBrgb(31, 117, 127)
HSLhsl(186, 61%, 31%)
HSVhsv(186, 76%, 50%)
CMYKcmyk(75.6%, 7.9%, 0%, 50.2%)
CIE-LABlab(45.00, -21.11, -12.74)
CIE-LCHlch(45.00, 24.65, 211.11°)
OKLaboklab(51.78% -0.071 -0.0354)
OKLCHoklch(51.78% 0.079 206.5)
XYZxyz(10.7555, 14.5449, 22.3152)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F757F #7F291F
analogous
#1F7F59 #1F757F #1F457F
triadic
#1F757F #7F1F75 #757F1F
tetradic
#1F757F #591F7F #7F291F #457F1F
square
#1F757F #591F7F #7F291F #457F1F
split-complementary
#1F757F #7F1F45 #7F591F
monochromatic
#071A1D #13484E #1F757F #2BA2B0 #46C3D2

Accessibility & contrast

On white

5.37
#1F757F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1F757F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F757F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F757F#FFFFFF#000000##FFFFFF
##1F757F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7080
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#007A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f757f;
/* rgb */ color: rgb(31, 117, 127);
/* oklch */ color: oklch(51.8% 0.079 206.5);
Tailwind
colors: {
  custom: {
    50: '#6b9da4',
    500: '#1f757f',
    950: '#000000',
  },
}
SCSS
$custom: #1f757f;
$custom-light: #6b9da4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f757f",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 127
  },
  "hsl": {
    "h": 186.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.0793,
    "h": 206.5
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#1F757F
secondary
#B25348
accent
#5544E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F757F

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

Preview Lab → · Contrast checker → · Palette generator →

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