#157F7C#157F7C

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

Color values

HEX#157F7C
RGBrgb(21, 127, 124)
HSLhsl(178, 72%, 29%)
HSVhsv(178, 83%, 50%)
CMYKcmyk(83.5%, 0%, 2.4%, 50.2%)
CIE-LABlab(48.00, -28.30, -6.48)
CIE-LCHlch(48.00, 29.03, 192.90°)
OKLaboklab(54.12% -0.0864 -0.0181)
OKLCHoklch(54.12% 0.088 191.8)
XYZxyz(11.5350, 16.7919, 21.6981)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F7C #7F1518
analogous
#157F47 #157F7C #154D7F
triadic
#157F7C #7C157F #7F7C15
tetradic
#157F7C #47157F #7F1518 #4D7F15
square
#157F7C #47157F #7F1518 #4D7F15
split-complementary
#157F7C #7F154D #7F4715
monochromatic
#041A1A #0C4A49 #157F7C #1EB4AF #31DDD8

Accessibility & contrast

On white

4.82
#157F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F7C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F7C#FFFFFF#000000##FFFFFF
##157F7C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787C
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157f7c;
/* rgb */ color: rgb(21, 127, 124);
/* oklch */ color: oklch(54.1% 0.088 191.8);
Tailwind
colors: {
  custom: {
    50: '#69a4a1',
    500: '#157f7c',
    950: '#000000',
  },
}
SCSS
$custom: #157f7c;
$custom-light: #69a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#157f7c",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 178.302,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.08828,
    "h": 191.8
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#157F7C
secondary
#B43C3F
accent
#393FEE
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0F
muted
#7A7F7E

Preview Lab

Preview with #157F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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