#157F8E#157F8E

#157F8E is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.090 H 209.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#157F8E
RGBrgb(21, 127, 142)
HSLhsl(187, 74%, 32%)
HSVhsv(187, 85%, 56%)
CMYKcmyk(85.2%, 10.6%, 0%, 44.3%)
CIE-LABlab(48.62, -22.40, -16.14)
CIE-LCHlch(48.62, 27.61, 215.78°)
OKLaboklab(54.83% -0.0781 -0.045)
OKLCHoklch(54.83% 0.09 209.9)
XYZxyz(12.7790, 17.2895, 28.2496)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F8E #8E2415
analogous
#158E61 #157F8E #15438E
triadic
#157F8E #8E157F #7F8E15
tetradic
#157F8E #61158E #8E2415 #438E15
square
#157F8E #61158E #8E2415 #438E15
split-complementary
#157F8E #8E1543 #8E6115
monochromatic
#052023 #0D4F59 #157F8E #1DAFC3 #3BCDE2

Accessibility & contrast

On white

4.71
#157F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#157F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F8E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F8E#FFFFFF#000000##FFFFFF
##157F8E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8F
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #157f8e;
/* rgb */ color: rgb(21, 127, 142);
/* oklch */ color: oklch(54.8% 0.090 209.9);
Tailwind
colors: {
  custom: {
    50: '#6ca4af',
    500: '#157f8e',
    950: '#000000',
  },
}
SCSS
$custom: #157f8e;
$custom-light: #6ca4af;
$custom-dark: #000000;
JSON
{
  "hex": "#157f8e",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 187.438,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54834,
    "c": 0.09016,
    "h": 209.9
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#157F8E
secondary
#C24E3D
accent
#4E37F1
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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