#157B8A#157B8A

#157B8A is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.6% C 0.088 H 210.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#157B8A
RGBrgb(21, 123, 138)
HSLhsl(188, 74%, 31%)
HSVhsv(188, 85%, 54%)
CMYKcmyk(84.8%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.18, -21.66, -15.98)
CIE-LCHlch(47.18, 26.92, 216.42°)
OKLaboklab(53.62% -0.0759 -0.0446)
OKLCHoklch(53.62% 0.088 210.4)
XYZxyz(11.9776, 16.1588, 26.5275)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B8A #8A2415
analogous
#158A5E #157B8A #15408A
triadic
#157B8A #8A157B #7B8A15
tetradic
#157B8A #5E158A #8A2415 #408A15
square
#157B8A #5E158A #8A2415 #408A15
split-complementary
#157B8A #8A1540 #8A5E15
monochromatic
#051C20 #0D4C55 #157B8A #1DAABF #39CBE1

Accessibility & contrast

On white

4.96
#157B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#157B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B8A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B8A#FFFFFF#000000##FFFFFF
##157B8A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #157b8a;
/* rgb */ color: rgb(21, 123, 138);
/* oklch */ color: oklch(53.6% 0.088 210.4);
Tailwind
colors: {
  custom: {
    50: '#6ba1ac',
    500: '#157b8a',
    950: '#000000',
  },
}
SCSS
$custom: #157b8a;
$custom-light: #6ba1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157b8a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 187.692,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.08799,
    "h": 210.4
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#157B8A
secondary
#BE4D3D
accent
#4F38F0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #157B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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