#157A8C#157A8C

#157A8C is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.089 H 213.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#157A8C
RGBrgb(21, 122, 140)
HSLhsl(189, 74%, 32%)
HSVhsv(189, 85%, 55%)
CMYKcmyk(85%, 12.9%, 0%, 45.1%)
CIE-LABlab(46.94, -20.44, -17.54)
CIE-LCHlch(46.94, 26.93, 220.63°)
OKLaboklab(53.45% -0.074 -0.049)
OKLCHoklch(53.45% 0.089 213.5)
XYZxyz(12.0004, 15.9704, 27.2560)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A8C #8C2715
analogous
#158C63 #157A8C #153F8C
triadic
#157A8C #8C157A #7A8C15
tetradic
#157A8C #63158C #8C2715 #3F8C15
square
#157A8C #63158C #8C2715 #3F8C15
split-complementary
#157A8C #8C153F #8C6315
monochromatic
#051D22 #0D4C57 #157A8C #1DA8C1 #3AC8E1

Accessibility & contrast

On white

5.01
#157A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#157A8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A8C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A8C#FFFFFF#000000##FFFFFF
##157A8C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157a8c;
/* rgb */ color: rgb(21, 122, 140);
/* oklch */ color: oklch(53.4% 0.089 213.5);
Tailwind
colors: {
  custom: {
    50: '#6ba0ad',
    500: '#157a8c',
    950: '#000000',
  },
}
SCSS
$custom: #157a8c;
$custom-light: #6ba0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#157a8c",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 140
  },
  "hsl": {
    "h": 189.076,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.08874,
    "h": 213.5
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#157A8C
secondary
#C0513D
accent
#5337F1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #157A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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