#1F7B7B#1F7B7B

#1F7B7B is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.2% C 0.082 H 195.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F7B7B
RGBrgb(31, 123, 123)
HSLhsl(180, 60%, 30%)
HSVhsv(180, 75%, 48%)
CMYKcmyk(74.8%, 0%, 0%, 51.8%)
CIE-LABlab(46.82, -25.51, -7.62)
CIE-LCHlch(46.82, 26.62, 196.63°)
OKLaboklab(53.2% -0.0792 -0.0212)
OKLCHoklch(53.2% 0.082 195)
XYZxyz(11.2215, 15.8859, 21.2099)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B7B #7B1F1F
analogous
#1F7B4D #1F7B7B #1F4D7B
triadic
#1F7B7B #7B1F7B #7B7B1F
tetradic
#1F7B7B #4D1F7B #7B1F1F #4D7B1F
square
#1F7B7B #4D1F7B #7B1F1F #4D7B1F
split-complementary
#1F7B7B #7B1F4D #7B4D1F
monochromatic
#061919 #134A4A #1F7B7B #2BACAC #44D0D0

Accessibility & contrast

On white

5.03
#1F7B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F7B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B7B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B7B#FFFFFF#000000##FFFFFF
##1F7B7B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757B
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7b7b;
/* rgb */ color: rgb(31, 123, 123);
/* oklch */ color: oklch(53.2% 0.082 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ba1a1',
    500: '#1f7b7b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b7b;
$custom-light: #6ba1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b7b",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 123
  },
  "hsl": {
    "h": 180,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.08201,
    "h": 195
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#1F7B7B
secondary
#AE4848
accent
#4545E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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