#1F7F8D#1F7F8D

#1F7F8D is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.087 H 209.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F7F8D
RGBrgb(31, 127, 141)
HSLhsl(188, 64%, 34%)
HSVhsv(188, 78%, 55%)
CMYKcmyk(78%, 9.9%, 0%, 44.7%)
CIE-LABlab(48.75, -21.74, -15.35)
CIE-LCHlch(48.75, 26.61, 215.21°)
OKLaboklab(54.97% -0.0752 -0.0427)
OKLCHoklch(54.97% 0.087 209.6)
XYZxyz(12.9601, 17.3916, 27.8680)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F8D #8D2D1F
analogous
#1F8D64 #1F7F8D #1F488D
triadic
#1F7F8D #8D1F7F #7F8D1F
tetradic
#1F7F8D #641F8D #8D2D1F #488D1F
square
#1F7F8D #641F8D #8D2D1F #488D1F
split-complementary
#1F7F8D #8D1F48 #8D641F
monochromatic
#092529 #14525B #1F7F8D #2AACBF #4EC7D8

Accessibility & contrast

On white

4.69
#1F7F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1F7F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F8D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F8D#FFFFFF#000000##FFFFFF
##1F7F8D1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7f8d;
/* rgb */ color: rgb(31, 127, 141);
/* oklch */ color: oklch(55.0% 0.087 209.6);
Tailwind
colors: {
  custom: {
    50: '#6ea4ae',
    500: '#1f7f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f8d;
$custom-light: #6ea4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f8d",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 141
  },
  "hsl": {
    "h": 187.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.08652,
    "h": 209.6
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#1F7F8D
secondary
#BB5B4D
accent
#5641E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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