#1F7F8A#1F7F8A

#1F7F8A is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.086 H 206.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F7F8A
RGBrgb(31, 127, 138)
HSLhsl(186, 63%, 33%)
HSVhsv(186, 78%, 54%)
CMYKcmyk(77.5%, 8%, 0%, 45.9%)
CIE-LABlab(48.64, -22.74, -13.75)
CIE-LCHlch(48.64, 26.57, 211.16°)
OKLaboklab(54.85% -0.0766 -0.0382)
OKLCHoklch(54.85% 0.086 206.5)
XYZxyz(12.7399, 17.3035, 26.7083)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F8A #8A2A1F
analogous
#1F8A5F #1F7F8A #1F498A
triadic
#1F7F8A #8A1F7F #7F8A1F
tetradic
#1F7F8A #5F1F8A #8A2A1F #498A1F
square
#1F7F8A #5F1F8A #8A2A1F #498A1F
split-complementary
#1F7F8A #8A1F49 #8A5F1F
monochromatic
#092326 #145158 #1F7F8A #2AADBC #4CC9D7

Accessibility & contrast

On white

4.71
#1F7F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F7F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F8A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F8A#FFFFFF#000000##FFFFFF
##1F7F8A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7f8a;
/* rgb */ color: rgb(31, 127, 138);
/* oklch */ color: oklch(54.8% 0.086 206.5);
Tailwind
colors: {
  custom: {
    50: '#6ea4ac',
    500: '#1f7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f8a;
$custom-light: #6ea4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f8a",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 186.168,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.08558,
    "h": 206.5
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#1F7F8A
secondary
#BA574B
accent
#5241E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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