#157D8A#157D8A

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

Color values

HEX#157D8A
RGBrgb(21, 125, 138)
HSLhsl(187, 74%, 31%)
HSVhsv(187, 85%, 54%)
CMYKcmyk(84.8%, 9.4%, 0%, 45.9%)
CIE-LABlab(47.83, -22.71, -14.99)
CIE-LCHlch(47.83, 27.21, 213.43°)
OKLaboklab(54.14% -0.0779 -0.0418)
OKLCHoklch(54.14% 0.088 208.2)
XYZxyz(12.2283, 16.6601, 26.6111)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D8A #8A2215
analogous
#158A5C #157D8A #15428A
triadic
#157D8A #8A157D #7D8A15
tetradic
#157D8A #5C158A #8A2215 #428A15
square
#157D8A #5C158A #8A2215 #428A15
split-complementary
#157D8A #8A1542 #8A5C15
monochromatic
#051D20 #0D4D55 #157D8A #1DADBF #39CEE1

Accessibility & contrast

On white

4.85
#157D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#157D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D8A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D8A#FFFFFF#000000##FFFFFF
##157D8A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #157d8a;
/* rgb */ color: rgb(21, 125, 138);
/* oklch */ color: oklch(54.1% 0.088 208.2);
Tailwind
colors: {
  custom: {
    50: '#6ba3ac',
    500: '#157d8a',
    950: '#000000',
  },
}
SCSS
$custom: #157d8a;
$custom-light: #6ba3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157d8a",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 186.667,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.08838,
    "h": 208.2
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#157D8A
secondary
#BE4B3D
accent
#4C38F0
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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