#157E8A#157E8A

#157E8A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.089 H 207.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#157E8A
RGBrgb(21, 126, 138)
HSLhsl(186, 74%, 31%)
HSVhsv(186, 85%, 54%)
CMYKcmyk(84.8%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.15, -23.23, -14.50)
CIE-LCHlch(48.15, 27.39, 211.98°)
OKLaboklab(54.4% -0.0789 -0.0404)
OKLCHoklch(54.4% 0.089 207.1)
XYZxyz(12.3555, 16.9145, 26.6535)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E8A #8A2115
analogous
#158A5B #157E8A #15438A
triadic
#157E8A #8A157E #7E8A15
tetradic
#157E8A #5B158A #8A2115 #438A15
square
#157E8A #5B158A #8A2115 #438A15
split-complementary
#157E8A #8A1543 #8A5B15
monochromatic
#051D20 #0D4D55 #157E8A #1DAEBF #39D0E1

Accessibility & contrast

On white

4.79
#157E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#157E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E8A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E8A#FFFFFF#000000##FFFFFF
##157E8A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157e8a;
/* rgb */ color: rgb(21, 126, 138);
/* oklch */ color: oklch(54.4% 0.089 207.1);
Tailwind
colors: {
  custom: {
    50: '#6ba3ac',
    500: '#157e8a',
    950: '#000000',
  },
}
SCSS
$custom: #157e8a;
$custom-light: #6ba3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157e8a",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 186.154,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.08863,
    "h": 207.1
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#157E8A
secondary
#BE4A3D
accent
#4A38F0
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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