#1F7687#1F7687

#1F7687 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.4% C 0.083 H 214.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1F7687
RGBrgb(31, 118, 135)
HSLhsl(190, 63%, 33%)
HSVhsv(190, 77%, 53%)
CMYKcmyk(77%, 12.6%, 0%, 47.1%)
CIE-LABlab(45.63, -18.95, -16.55)
CIE-LCHlch(45.63, 25.17, 221.13°)
OKLaboklab(52.38% -0.0685 -0.0461)
OKLCHoklch(52.38% 0.083 214)
XYZxyz(11.4148, 14.9961, 25.2099)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7687 #87301F
analogous
#1F8764 #1F7687 #1F4287
triadic
#1F7687 #871F76 #76871F
tetradic
#1F7687 #641F87 #87301F #42871F
square
#1F7687 #641F87 #87301F #42871F
split-complementary
#1F7687 #871F42 #87641F
monochromatic
#081F23 #144A55 #1F7687 #2AA2B9 #4BBFD6

Accessibility & contrast

On white

5.25
#1F7687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1F7687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7687
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7687#FFFFFF#000000##FFFFFF
##1F76871.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7288
Deuteranopia (green-blind)
#5B6887
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7687;
/* rgb */ color: rgb(31, 118, 135);
/* oklch */ color: oklch(52.4% 0.083 214.0);
Tailwind
colors: {
  custom: {
    50: '#6c9daa',
    500: '#1f7687',
    950: '#000000',
  },
}
SCSS
$custom: #1f7687;
$custom-light: #6c9daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7687",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 135
  },
  "hsl": {
    "h": 189.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.08258,
    "h": 214
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#1F7687
secondary
#B85C4A
accent
#5D42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7687

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

Preview Lab → · Contrast checker → · Palette generator →

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