#157C8A#157C8A

#157C8A is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.088 H 209.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#157C8A
RGBrgb(21, 124, 138)
HSLhsl(187, 74%, 31%)
HSVhsv(187, 85%, 54%)
CMYKcmyk(84.8%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.51, -22.19, -15.49)
CIE-LCHlch(47.51, 27.06, 214.91°)
OKLaboklab(53.88% -0.0769 -0.0432)
OKLCHoklch(53.88% 0.088 209.3)
XYZxyz(12.1023, 16.4082, 26.5691)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C8A #8A2315
analogous
#158A5D #157C8A #15418A
triadic
#157C8A #8A157C #7C8A15
tetradic
#157C8A #5D158A #8A2315 #418A15
square
#157C8A #5D158A #8A2315 #418A15
split-complementary
#157C8A #8A1541 #8A5D15
monochromatic
#051D20 #0D4C55 #157C8A #1DACBF #39CDE1

Accessibility & contrast

On white

4.90
#157C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#157C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C8A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C8A#FFFFFF#000000##FFFFFF
##157C8A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #157c8a;
/* rgb */ color: rgb(21, 124, 138);
/* oklch */ color: oklch(53.9% 0.088 209.3);
Tailwind
colors: {
  custom: {
    50: '#6ba2ac',
    500: '#157c8a',
    950: '#000000',
  },
}
SCSS
$custom: #157c8a;
$custom-light: #6ba2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157c8a",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 187.179,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.08817,
    "h": 209.3
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#157C8A
secondary
#BE4C3D
accent
#4E38F0
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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