#1F7780#1F7780

#1F7780 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.3% C 0.080 H 205.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F7780
RGBrgb(31, 119, 128)
HSLhsl(186, 61%, 31%)
HSVhsv(186, 76%, 50%)
CMYKcmyk(75.8%, 7%, 0%, 49.8%)
CIE-LABlab(45.69, -21.83, -12.29)
CIE-LCHlch(45.69, 25.06, 209.38°)
OKLaboklab(52.34% -0.0726 -0.0342)
OKLCHoklch(52.34% 0.08 205.2)
XYZxyz(11.0565, 15.0421, 22.7386)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7780 #80281F
analogous
#1F8058 #1F7780 #1F4680
triadic
#1F7780 #801F77 #77801F
tetradic
#1F7780 #581F80 #80281F #46801F
square
#1F7780 #581F80 #80281F #46801F
split-complementary
#1F7780 #801F46 #80581F
monochromatic
#071B1D #13494F #1F7780 #2BA5B1 #47C5D2

Accessibility & contrast

On white

5.24
#1F7780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1F7780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7780
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7780#FFFFFF#000000##FFFFFF
##1F77801.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7281
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#007C7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7780;
/* rgb */ color: rgb(31, 119, 128);
/* oklch */ color: oklch(52.3% 0.080 205.2);
Tailwind
colors: {
  custom: {
    50: '#6b9ea4',
    500: '#1f7780',
    950: '#000000',
  },
}
SCSS
$custom: #1f7780;
$custom-light: #6b9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7780",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 128
  },
  "hsl": {
    "h": 185.567,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.08027,
    "h": 205.2
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7780

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

Preview Lab → · Contrast checker → · Palette generator →

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