#157F7D#157F7D

#157F7D is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.2% C 0.088 H 192.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#157F7D
RGBrgb(21, 127, 125)
HSLhsl(179, 72%, 29%)
HSVhsv(179, 83%, 50%)
CMYKcmyk(83.5%, 0%, 1.6%, 50.2%)
CIE-LABlab(48.03, -27.98, -7.02)
CIE-LCHlch(48.03, 28.85, 194.09°)
OKLaboklab(54.16% -0.0859 -0.0196)
OKLCHoklch(54.16% 0.088 192.8)
XYZxyz(11.5986, 16.8174, 22.0328)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F7D #7F1517
analogous
#157F48 #157F7D #154C7F
triadic
#157F7D #7D157F #7F7D15
tetradic
#157F7D #48157F #7F1517 #4C7F15
square
#157F7D #48157F #7F1517 #4C7F15
split-complementary
#157F7D #7F154C #7F4815
monochromatic
#041A1A #0C4A49 #157F7D #1EB4B1 #31DDDA

Accessibility & contrast

On white

4.81
#157F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#157F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F7D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F7D#FFFFFF#000000##FFFFFF
##157F7D1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787D
Deuteranopia (green-blind)
#686E7E
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157f7d;
/* rgb */ color: rgb(21, 127, 125);
/* oklch */ color: oklch(54.2% 0.088 192.8);
Tailwind
colors: {
  custom: {
    50: '#6aa4a2',
    500: '#157f7d',
    950: '#000000',
  },
}
SCSS
$custom: #157f7d;
$custom-light: #6aa4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#157f7d",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 178.868,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.08812,
    "h": 192.8
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#157F7D
secondary
#B43C3E
accent
#393DEE
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #157F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#157F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva