#1F7984#1F7984

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

Color values

HEX#1F7984
RGBrgb(31, 121, 132)
HSLhsl(187, 62%, 32%)
HSVhsv(187, 77%, 52%)
CMYKcmyk(76.5%, 8.3%, 0%, 48.2%)
CIE-LABlab(46.49, -21.57, -13.47)
CIE-LCHlch(46.49, 25.43, 211.98°)
OKLaboklab(53.03% -0.073 -0.0374)
OKLCHoklch(53.03% 0.082 207.2)
XYZxyz(11.5655, 15.6306, 24.2328)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7984 #842A1F
analogous
#1F845D #1F7984 #1F4684
triadic
#1F7984 #841F79 #79841F
tetradic
#1F7984 #5D1F84 #842A1F #46841F
square
#1F7984 #5D1F84 #842A1F #46841F
split-complementary
#1F7984 #841F46 #845D1F
monochromatic
#081E21 #134C52 #1F7984 #2BA6B6 #49C5D4

Accessibility & contrast

On white

5.09
#1F7984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7984
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7984#FFFFFF#000000##FFFFFF
##1F79841.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7485
Deuteranopia (green-blind)
#606A84
Tritanopia (blue-blind)
#007F7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7984;
/* rgb */ color: rgb(31, 121, 132);
/* oklch */ color: oklch(53.0% 0.082 207.2);
Tailwind
colors: {
  custom: {
    50: '#6ca0a7',
    500: '#1f7984',
    950: '#000000',
  },
}
SCSS
$custom: #1f7984;
$custom-light: #6ca0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7984",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 132
  },
  "hsl": {
    "h": 186.535,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.08201,
    "h": 207.2
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#1F7984
secondary
#B75448
accent
#5443E5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #1F7984

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

Preview Lab → · Contrast checker → · Palette generator →

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