#1F7684#1F7684

#1F7684 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.2% C 0.081 H 210.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1F7684
RGBrgb(31, 118, 132)
HSLhsl(188, 62%, 32%)
HSVhsv(188, 77%, 52%)
CMYKcmyk(76.5%, 10.6%, 0%, 48.2%)
CIE-LABlab(45.51, -19.97, -14.94)
CIE-LCHlch(45.51, 24.94, 216.81°)
OKLaboklab(52.25% -0.0698 -0.0416)
OKLCHoklch(52.25% 0.081 210.8)
XYZxyz(11.2066, 14.9128, 24.1131)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7684 #842D1F
analogous
#1F8460 #1F7684 #1F4484
triadic
#1F7684 #841F76 #76841F
tetradic
#1F7684 #601F84 #842D1F #44841F
square
#1F7684 #601F84 #842D1F #44841F
split-complementary
#1F7684 #841F44 #84601F
monochromatic
#081D21 #134A52 #1F7684 #2BA2B6 #49C1D4

Accessibility & contrast

On white

5.27
#1F7684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1F7684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7684
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7684#FFFFFF#000000##FFFFFF
##1F76841.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7684;
/* rgb */ color: rgb(31, 118, 132);
/* oklch */ color: oklch(52.2% 0.081 210.8);
Tailwind
colors: {
  custom: {
    50: '#6c9da7',
    500: '#1f7684',
    950: '#000000',
  },
}
SCSS
$custom: #1f7684;
$custom-light: #6c9da7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7684",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 132
  },
  "hsl": {
    "h": 188.317,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.08125,
    "h": 210.8
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#1F7684
secondary
#B75748
accent
#5943E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7684

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

Preview Lab → · Contrast checker → · Palette generator →

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