#1F7C8E#1F7C8E

#1F7C8E is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.2% C 0.086 H 214.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F7C8E
RGBrgb(31, 124, 142)
HSLhsl(190, 64%, 34%)
HSVhsv(190, 78%, 56%)
CMYKcmyk(78.2%, 12.7%, 0%, 44.3%)
CIE-LABlab(47.83, -19.81, -17.34)
CIE-LCHlch(47.83, 26.33, 221.20°)
OKLaboklab(54.24% -0.0717 -0.0484)
OKLCHoklch(54.24% 0.087 214)
XYZxyz(12.6531, 16.6581, 28.1344)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C8E #8E311F
analogous
#1F8E69 #1F7C8E #1F458E
triadic
#1F7C8E #8E1F7C #7C8E1F
tetradic
#1F7C8E #691F8E #8E311F #458E1F
square
#1F7C8E #691F8E #8E311F #458E1F
split-complementary
#1F7C8E #8E1F45 #8E691F
monochromatic
#09242A #14505C #1F7C8E #2AA8C0 #4FC2D9

Accessibility & contrast

On white

4.85
#1F7C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F7C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C8E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C8E#FFFFFF#000000##FFFFFF
##1F7C8E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788F
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7c8e;
/* rgb */ color: rgb(31, 124, 142);
/* oklch */ color: oklch(54.2% 0.086 214.0);
Tailwind
colors: {
  custom: {
    50: '#6ea2af',
    500: '#1f7c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c8e;
$custom-light: #6ea2af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c8e",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 189.73,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.0865,
    "h": 214
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#1F7C8E
secondary
#BB5F4D
accent
#5C41E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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