#1F7983#1F7983

#1F7983 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.082 H 206.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F7983
RGBrgb(31, 121, 131)
HSLhsl(186, 62%, 32%)
HSVhsv(186, 76%, 51%)
CMYKcmyk(76.3%, 7.6%, 0%, 48.6%)
CIE-LABlab(46.45, -21.90, -12.93)
CIE-LCHlch(46.45, 25.43, 210.56°)
OKLaboklab(52.99% -0.0734 -0.0359)
OKLCHoklch(52.99% 0.082 206.1)
XYZxyz(11.4974, 15.6034, 23.8741)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7983 #83291F
analogous
#1F835B #1F7983 #1F4783
triadic
#1F7983 #831F79 #79831F
tetradic
#1F7983 #5B1F83 #83291F #47831F
square
#1F7983 #5B1F83 #83291F #47831F
split-complementary
#1F7983 #831F47 #835B1F
monochromatic
#081E20 #134B52 #1F7983 #2BA7B4 #49C6D4

Accessibility & contrast

On white

5.10
#1F7983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7983
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7983#FFFFFF#000000##FFFFFF
##1F79831.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7484
Deuteranopia (green-blind)
#606A83
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7983;
/* rgb */ color: rgb(31, 121, 131);
/* oklch */ color: oklch(53.0% 0.082 206.1);
Tailwind
colors: {
  custom: {
    50: '#6ca0a7',
    500: '#1f7983',
    950: '#000000',
  },
}
SCSS
$custom: #1f7983;
$custom-light: #6ca0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7983",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 131
  },
  "hsl": {
    "h": 186,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.08173,
    "h": 206.1
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#1F7983
secondary
#B65348
accent
#5343E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7983

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

Preview Lab → · Contrast checker → · Palette generator →

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