#1F7D87#1F7D87

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

Color values

HEX#1F7D87
RGBrgb(31, 125, 135)
HSLhsl(186, 63%, 33%)
HSVhsv(186, 77%, 53%)
CMYKcmyk(77%, 7.4%, 0%, 47.1%)
CIE-LABlab(47.89, -22.68, -13.12)
CIE-LCHlch(47.89, 26.20, 210.05°)
OKLaboklab(54.2% -0.0758 -0.0365)
OKLCHoklch(54.2% 0.084 205.7)
XYZxyz(12.2699, 16.7063, 25.4949)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D87 #87291F
analogous
#1F875D #1F7D87 #1F4987
triadic
#1F7D87 #871F7D #7D871F
tetradic
#1F7D87 #5D1F87 #87291F #49871F
square
#1F7D87 #5D1F87 #87291F #49871F
split-complementary
#1F7D87 #871F49 #875D1F
monochromatic
#082123 #144F55 #1F7D87 #2AABB9 #4BC8D6

Accessibility & contrast

On white

4.84
#1F7D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F7D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D87
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D87#FFFFFF#000000##FFFFFF
##1F7D871.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#646D87
Tritanopia (blue-blind)
#008380
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7d87;
/* rgb */ color: rgb(31, 125, 135);
/* oklch */ color: oklch(54.2% 0.084 205.7);
Tailwind
colors: {
  custom: {
    50: '#6da3aa',
    500: '#1f7d87',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d87;
$custom-light: #6da3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d87",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 135
  },
  "hsl": {
    "h": 185.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.08413,
    "h": 205.7
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#1F7D87
secondary
#B8544A
accent
#5242E6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #1F7D87

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

Preview Lab → · Contrast checker → · Palette generator →

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