#1F7D8A#1F7D8A

#1F7D8A is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.085 H 208.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F7D8A
RGBrgb(31, 125, 138)
HSLhsl(187, 63%, 33%)
HSVhsv(187, 78%, 54%)
CMYKcmyk(77.5%, 9.4%, 0%, 45.9%)
CIE-LABlab(48.00, -21.69, -14.72)
CIE-LCHlch(48.00, 26.21, 214.17°)
OKLaboklab(54.33% -0.0745 -0.041)
OKLCHoklch(54.33% 0.085 208.8)
XYZxyz(12.4841, 16.7920, 26.6230)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D8A #8A2C1F
analogous
#1F8A61 #1F7D8A #1F478A
triadic
#1F7D8A #8A1F7D #7D8A1F
tetradic
#1F7D8A #611F8A #8A2C1F #478A1F
square
#1F7D8A #611F8A #8A2C1F #478A1F
split-complementary
#1F7D8A #8A1F47 #8A611F
monochromatic
#092226 #145058 #1F7D8A #2AAABC #4CC6D7

Accessibility & contrast

On white

4.82
#1F7D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F7D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D8A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D8A#FFFFFF#000000##FFFFFF
##1F7D8A1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7d8a;
/* rgb */ color: rgb(31, 125, 138);
/* oklch */ color: oklch(54.3% 0.085 208.8);
Tailwind
colors: {
  custom: {
    50: '#6da3ac',
    500: '#1f7d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d8a;
$custom-light: #6da3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d8a",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 187.29,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54327,
    "c": 0.08501,
    "h": 208.8
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#1F7D8A
secondary
#BA594B
accent
#5541E6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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