#1F7985#1F7985

#1F7985 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.082 H 208.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7985
RGBrgb(31, 121, 133)
HSLhsl(187, 62%, 32%)
HSVhsv(187, 77%, 52%)
CMYKcmyk(76.7%, 9%, 0%, 47.8%)
CIE-LABlab(46.52, -21.24, -14.01)
CIE-LCHlch(46.52, 25.44, 213.40°)
OKLaboklab(53.08% -0.0725 -0.039)
OKLCHoklch(53.08% 0.082 208.2)
XYZxyz(11.6342, 15.6581, 24.5949)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7985 #852B1F
analogous
#1F855E #1F7985 #1F4685
triadic
#1F7985 #851F79 #79851F
tetradic
#1F7985 #5E1F85 #852B1F #46851F
square
#1F7985 #5E1F85 #852B1F #46851F
split-complementary
#1F7985 #851F46 #855E1F
monochromatic
#081F22 #134C53 #1F7985 #2BA6B7 #4AC4D5

Accessibility & contrast

On white

5.08
#1F7985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7985
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7985#FFFFFF#000000##FFFFFF
##1F79851.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7486
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7985;
/* rgb */ color: rgb(31, 121, 133);
/* oklch */ color: oklch(53.1% 0.082 208.2);
Tailwind
colors: {
  custom: {
    50: '#6ca0a8',
    500: '#1f7985',
    950: '#000000',
  },
}
SCSS
$custom: #1f7985;
$custom-light: #6ca0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7985",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 133
  },
  "hsl": {
    "h": 187.059,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.08231,
    "h": 208.2
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#1F7985
secondary
#B75649
accent
#5643E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7985

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

Preview Lab → · Contrast checker → · Palette generator →

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