#1F757E#1F757E

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

Color values

HEX#1F757E
RGBrgb(31, 117, 126)
HSLhsl(186, 61%, 31%)
HSVhsv(186, 75%, 49%)
CMYKcmyk(75.4%, 7.1%, 0%, 50.6%)
CIE-LABlab(44.97, -21.44, -12.19)
CIE-LCHlch(44.97, 24.66, 209.63°)
OKLaboklab(51.73% -0.0714 -0.0339)
OKLCHoklch(51.73% 0.079 205.4)
XYZxyz(10.6906, 14.5190, 21.9736)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F757E #7E281F
analogous
#1F7E57 #1F757E #1F457E
triadic
#1F757E #7E1F75 #757E1F
tetradic
#1F757E #571F7E #7E281F #457E1F
square
#1F757E #571F7E #7E281F #457E1F
split-complementary
#1F757E #7E1F45 #7E571F
monochromatic
#071A1C #13474D #1F757E #2BA3AF #46C4D1

Accessibility & contrast

On white

5.38
#1F757E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1F757E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F757E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F757E#FFFFFF#000000##FFFFFF
##1F757E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f757e;
/* rgb */ color: rgb(31, 117, 126);
/* oklch */ color: oklch(51.7% 0.079 205.4);
Tailwind
colors: {
  custom: {
    50: '#6b9da3',
    500: '#1f757e',
    950: '#000000',
  },
}
SCSS
$custom: #1f757e;
$custom-light: #6b9da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f757e",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 126
  },
  "hsl": {
    "h": 185.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.07904,
    "h": 205.4
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#1F757E
secondary
#B15248
accent
#5344E4
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F757E

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

Preview Lab → · Contrast checker → · Palette generator →

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