#1F7A87#1F7A87

#1F7A87 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.083 H 209.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F7A87
RGBrgb(31, 122, 135)
HSLhsl(188, 63%, 33%)
HSVhsv(188, 77%, 53%)
CMYKcmyk(77%, 9.6%, 0%, 47.1%)
CIE-LABlab(46.92, -21.10, -14.59)
CIE-LCHlch(46.92, 25.65, 214.66°)
OKLaboklab(53.42% -0.0727 -0.0406)
OKLCHoklch(53.42% 0.083 209.2)
XYZxyz(11.8959, 15.9582, 25.3703)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A87 #872C1F
analogous
#1F8760 #1F7A87 #1F4687
triadic
#1F7A87 #871F7A #7A871F
tetradic
#1F7A87 #601F87 #872C1F #46871F
square
#1F7A87 #601F87 #872C1F #46871F
split-complementary
#1F7A87 #871F46 #87601F
monochromatic
#082023 #144D55 #1F7A87 #2AA7B9 #4BC4D6

Accessibility & contrast

On white

5.01
#1F7A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F7A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A87
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A87#FFFFFF#000000##FFFFFF
##1F7A871.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7a87;
/* rgb */ color: rgb(31, 122, 135);
/* oklch */ color: oklch(53.4% 0.083 209.2);
Tailwind
colors: {
  custom: {
    50: '#6da0aa',
    500: '#1f7a87',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a87;
$custom-light: #6da0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a87",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 187.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5342,
    "c": 0.08324,
    "h": 209.2
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#1F7A87
secondary
#B8574A
accent
#5742E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #1F7A87

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

Preview Lab → · Contrast checker → · Palette generator →

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