#1F7782#1F7782

#1F7782 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.081 H 207.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F7782
RGBrgb(31, 119, 130)
HSLhsl(187, 61%, 32%)
HSVhsv(187, 76%, 51%)
CMYKcmyk(76.2%, 8.5%, 0%, 49%)
CIE-LABlab(45.76, -21.17, -13.37)
CIE-LCHlch(45.76, 25.04, 212.28°)
OKLaboklab(52.43% -0.0717 -0.0372)
OKLCHoklch(52.43% 0.081 207.4)
XYZxyz(11.1894, 15.0953, 23.4387)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7782 #822A1F
analogous
#1F825C #1F7782 #1F4682
triadic
#1F7782 #821F77 #77821F
tetradic
#1F7782 #5C1F82 #822A1F #46821F
square
#1F7782 #5C1F82 #822A1F #46821F
split-complementary
#1F7782 #821F46 #825C1F
monochromatic
#071D1F #134A51 #1F7782 #2BA4B3 #48C4D3

Accessibility & contrast

On white

5.22
#1F7782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F7782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7782
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7782#FFFFFF#000000##FFFFFF
##1F77821.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#5E6882
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7782;
/* rgb */ color: rgb(31, 119, 130);
/* oklch */ color: oklch(52.4% 0.081 207.4);
Tailwind
colors: {
  custom: {
    50: '#6c9ea6',
    500: '#1f7782',
    950: '#000000',
  },
}
SCSS
$custom: #1f7782;
$custom-light: #6c9ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7782",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 130
  },
  "hsl": {
    "h": 186.667,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.08081,
    "h": 207.4
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#1F7782
secondary
#B55448
accent
#5543E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7782

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

Preview Lab → · Contrast checker → · Palette generator →

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