#1F7B87#1F7B87

#1F7B87 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.7% C 0.084 H 208.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1F7B87
RGBrgb(31, 123, 135)
HSLhsl(187, 63%, 33%)
HSVhsv(187, 77%, 53%)
CMYKcmyk(77%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.24, -21.63, -14.10)
CIE-LCHlch(47.24, 25.82, 213.10°)
OKLaboklab(53.68% -0.0737 -0.0392)
OKLCHoklch(53.68% 0.084 208)
XYZxyz(12.0193, 16.2050, 25.4114)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B87 #872B1F
analogous
#1F875F #1F7B87 #1F4787
triadic
#1F7B87 #871F7B #7B871F
tetradic
#1F7B87 #5F1F87 #872B1F #47871F
square
#1F7B87 #5F1F87 #872B1F #47871F
split-complementary
#1F7B87 #871F47 #875F1F
monochromatic
#082023 #144E55 #1F7B87 #2AA8B9 #4BC6D6

Accessibility & contrast

On white

4.95
#1F7B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#1F7B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B87
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B87#FFFFFF#000000##FFFFFF
##1F7B871.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#616C87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7b87;
/* rgb */ color: rgb(31, 123, 135);
/* oklch */ color: oklch(53.7% 0.084 208.0);
Tailwind
colors: {
  custom: {
    50: '#6da1aa',
    500: '#1f7b87',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b87;
$custom-light: #6da1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b87",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 186.923,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.0835,
    "h": 208
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#1F7B87
secondary
#B8564A
accent
#5542E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7B87

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

Preview Lab → · Contrast checker → · Palette generator →

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