#157A8D#157A8D

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

Color values

HEX#157A8D
RGBrgb(21, 122, 141)
HSLhsl(190, 74%, 32%)
HSVhsv(190, 85%, 55%)
CMYKcmyk(85.1%, 13.5%, 0%, 44.7%)
CIE-LABlab(46.97, -20.09, -18.07)
CIE-LCHlch(46.97, 27.02, 221.96°)
OKLaboklab(53.49% -0.0736 -0.0505)
OKLCHoklch(53.49% 0.089 214.5)
XYZxyz(12.0744, 16.0000, 27.6461)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A8D #8D2815
analogous
#158D64 #157A8D #153E8D
triadic
#157A8D #8D157A #7A8D15
tetradic
#157A8D #64158D #8D2815 #3E8D15
square
#157A8D #64158D #8D2815 #3E8D15
split-complementary
#157A8D #8D153E #8D6415
monochromatic
#051E22 #0D4C58 #157A8D #1DA8C2 #3BC7E2

Accessibility & contrast

On white

5.00
#157A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#157A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A8D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A8D#FFFFFF#000000##FFFFFF
##157A8D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157a8d;
/* rgb */ color: rgb(21, 122, 141);
/* oklch */ color: oklch(53.5% 0.089 214.5);
Tailwind
colors: {
  custom: {
    50: '#6ba0ae',
    500: '#157a8d',
    950: '#000000',
  },
}
SCSS
$custom: #157a8d;
$custom-light: #6ba0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#157a8d",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 141
  },
  "hsl": {
    "h": 189.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.08922,
    "h": 214.5
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#157A8D
secondary
#C1523D
accent
#5437F1
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #157A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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