#1F7C8A#1F7C8A

#1F7C8A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.1% C 0.085 H 210.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F7C8A
RGBrgb(31, 124, 138)
HSLhsl(188, 63%, 33%)
HSVhsv(188, 78%, 54%)
CMYKcmyk(77.5%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.68, -21.16, -15.21)
CIE-LCHlch(47.68, 26.06, 215.72°)
OKLaboklab(54.07% -0.0734 -0.0423)
OKLCHoklch(54.07% 0.085 210)
XYZxyz(12.3582, 16.5401, 26.5811)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C8A #8A2D1F
analogous
#1F8A62 #1F7C8A #1F478A
triadic
#1F7C8A #8A1F7C #7C8A1F
tetradic
#1F7C8A #621F8A #8A2D1F #478A1F
square
#1F7C8A #621F8A #8A2D1F #478A1F
split-complementary
#1F7C8A #8A1F47 #8A621F
monochromatic
#092226 #144F58 #1F7C8A #2AA9BC #4CC5D7

Accessibility & contrast

On white

4.87
#1F7C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F7C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C8A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C8A#FFFFFF#000000##FFFFFF
##1F7C8A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7c8a;
/* rgb */ color: rgb(31, 124, 138);
/* oklch */ color: oklch(54.1% 0.085 210.0);
Tailwind
colors: {
  custom: {
    50: '#6da2ac',
    500: '#1f7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c8a;
$custom-light: #6da2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c8a",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 187.85,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.08478,
    "h": 210
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#1F7C8A
secondary
#BA5A4B
accent
#5741E6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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