#1F7784#1F7784

#1F7784 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.081 H 209.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F7784
RGBrgb(31, 119, 132)
HSLhsl(188, 62%, 32%)
HSVhsv(188, 77%, 52%)
CMYKcmyk(76.5%, 9.8%, 0%, 48.2%)
CIE-LABlab(45.84, -20.51, -14.45)
CIE-LCHlch(45.84, 25.09, 215.17°)
OKLaboklab(52.51% -0.0708 -0.0402)
OKLCHoklch(52.51% 0.081 209.6)
XYZxyz(11.3250, 15.1495, 24.1526)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7784 #842C1F
analogous
#1F845F #1F7784 #1F4584
triadic
#1F7784 #841F77 #77841F
tetradic
#1F7784 #5F1F84 #842C1F #45841F
square
#1F7784 #5F1F84 #842C1F #45841F
split-complementary
#1F7784 #841F45 #845F1F
monochromatic
#081E21 #134A52 #1F7784 #2BA4B6 #49C2D4

Accessibility & contrast

On white

5.21
#1F7784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1F7784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7784
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7784#FFFFFF#000000##FFFFFF
##1F77841.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7285
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7784;
/* rgb */ color: rgb(31, 119, 132);
/* oklch */ color: oklch(52.5% 0.081 209.6);
Tailwind
colors: {
  custom: {
    50: '#6c9ea7',
    500: '#1f7784',
    950: '#000000',
  },
}
SCSS
$custom: #1f7784;
$custom-light: #6c9ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7784",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 132
  },
  "hsl": {
    "h": 187.723,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.08147,
    "h": 209.6
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#1F7784
secondary
#B75648
accent
#5843E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7784

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

Preview Lab → · Contrast checker → · Palette generator →

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