#157A8A#157A8A

#157A8A is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.088 H 211.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#157A8A
RGBrgb(21, 122, 138)
HSLhsl(188, 74%, 31%)
HSVhsv(188, 85%, 54%)
CMYKcmyk(84.8%, 11.6%, 0%, 45.9%)
CIE-LABlab(46.86, -21.13, -16.47)
CIE-LCHlch(46.86, 26.79, 217.94°)
OKLaboklab(53.36% -0.0749 -0.0459)
OKLCHoklch(53.36% 0.088 211.5)
XYZxyz(11.8542, 15.9120, 26.4864)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A8A #8A2515
analogous
#158A5F #157A8A #153F8A
triadic
#157A8A #8A157A #7A8A15
tetradic
#157A8A #5F158A #8A2515 #3F8A15
square
#157A8A #5F158A #8A2515 #3F8A15
split-complementary
#157A8A #8A153F #8A5F15
monochromatic
#051C20 #0D4B55 #157A8A #1DA9BF #39CAE1

Accessibility & contrast

On white

5.02
#157A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#157A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A8A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A8A#FFFFFF#000000##FFFFFF
##157A8A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157a8a;
/* rgb */ color: rgb(21, 122, 138);
/* oklch */ color: oklch(53.4% 0.088 211.5);
Tailwind
colors: {
  custom: {
    50: '#6ba0ac',
    500: '#157a8a',
    950: '#000000',
  },
}
SCSS
$custom: #157a8a;
$custom-light: #6ba0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#157a8a",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 188.205,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53358,
    "c": 0.08785,
    "h": 211.5
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#157A8A
secondary
#BE4E3D
accent
#5138F0
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F10
muted
#7A7E7F

Preview Lab

Preview with #157A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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