#157F8A#157F8A

#157F8A is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.089 H 206.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#157F8A
RGBrgb(21, 127, 138)
HSLhsl(186, 74%, 31%)
HSVhsv(186, 85%, 54%)
CMYKcmyk(84.8%, 8%, 0%, 45.9%)
CIE-LABlab(48.48, -23.75, -14.01)
CIE-LCHlch(48.48, 27.58, 210.54°)
OKLaboklab(54.67% -0.0799 -0.039)
OKLCHoklch(54.67% 0.089 206)
XYZxyz(12.4840, 17.1716, 26.6963)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F8A #8A2015
analogous
#158A5A #157F8A #15448A
triadic
#157F8A #8A157F #7F8A15
tetradic
#157F8A #5A158A #8A2015 #448A15
square
#157F8A #5A158A #8A2015 #448A15
split-complementary
#157F8A #8A1544 #8A5A15
monochromatic
#051D20 #0D4E55 #157F8A #1DB0BF #39D1E1

Accessibility & contrast

On white

4.74
#157F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#157F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F8A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F8A#FFFFFF#000000##FFFFFF
##157F8A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737A8B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #157f8a;
/* rgb */ color: rgb(21, 127, 138);
/* oklch */ color: oklch(54.7% 0.089 206.0);
Tailwind
colors: {
  custom: {
    50: '#6ba4ac',
    500: '#157f8a',
    950: '#000000',
  },
}
SCSS
$custom: #157f8a;
$custom-light: #6ba4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157f8a",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 185.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.08891,
    "h": 206
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#157F8A
secondary
#BE493D
accent
#4938F0
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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