#1F7682#1F7682

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

Color values

HEX#1F7682
RGBrgb(31, 118, 130)
HSLhsl(187, 61%, 32%)
HSVhsv(187, 76%, 51%)
CMYKcmyk(76.2%, 9.2%, 0%, 49%)
CIE-LABlab(45.44, -20.64, -13.87)
CIE-LCHlch(45.44, 24.87, 213.89°)
OKLaboklab(52.16% -0.0707 -0.0386)
OKLCHoklch(52.16% 0.081 208.6)
XYZxyz(11.0710, 14.8586, 23.3993)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7682 #822B1F
analogous
#1F825D #1F7682 #1F4582
triadic
#1F7682 #821F76 #76821F
tetradic
#1F7682 #5D1F82 #822B1F #45821F
square
#1F7682 #5D1F82 #822B1F #45821F
split-complementary
#1F7682 #821F45 #825D1F
monochromatic
#071C1F #134951 #1F7682 #2BA3B3 #48C2D3

Accessibility & contrast

On white

5.29
#1F7682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1F7682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7682
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7682#FFFFFF#000000##FFFFFF
##1F76821.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7682;
/* rgb */ color: rgb(31, 118, 130);
/* oklch */ color: oklch(52.2% 0.081 208.6);
Tailwind
colors: {
  custom: {
    50: '#6c9da6',
    500: '#1f7682',
    950: '#000000',
  },
}
SCSS
$custom: #1f7682;
$custom-light: #6c9da6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7682",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 130
  },
  "hsl": {
    "h": 187.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.08052,
    "h": 208.6
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#1F7682
secondary
#B55548
accent
#5743E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7682

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

Preview Lab → · Contrast checker → · Palette generator →

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