#1F7C8C#1F7C8C

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

Color values

HEX#1F7C8C
RGBrgb(31, 124, 140)
HSLhsl(189, 64%, 34%)
HSVhsv(189, 78%, 55%)
CMYKcmyk(77.9%, 11.4%, 0%, 45.1%)
CIE-LABlab(47.75, -20.49, -16.28)
CIE-LCHlch(47.75, 26.17, 218.47°)
OKLaboklab(54.15% -0.0726 -0.0454)
OKLCHoklch(54.15% 0.086 212)
XYZxyz(12.5043, 16.5985, 27.3507)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C8C #8C2F1F
analogous
#1F8C65 #1F7C8C #1F458C
triadic
#1F7C8C #8C1F7C #7C8C1F
tetradic
#1F7C8C #651F8C #8C2F1F #458C1F
square
#1F7C8C #651F8C #8C2F1F #458C1F
split-complementary
#1F7C8C #8C1F45 #8C651F
monochromatic
#092328 #14505A #1F7C8C #2AA8BE #4EC3D8

Accessibility & contrast

On white

4.86
#1F7C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F7C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C8C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C8C#FFFFFF#000000##FFFFFF
##1F7C8C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778D
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7c8c;
/* rgb */ color: rgb(31, 124, 140);
/* oklch */ color: oklch(54.2% 0.086 212.0);
Tailwind
colors: {
  custom: {
    50: '#6ea2ad',
    500: '#1f7c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c8c;
$custom-light: #6ea2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c8c",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 140
  },
  "hsl": {
    "h": 188.807,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.08558,
    "h": 212
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#1F7C8C
secondary
#BB5C4C
accent
#5941E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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