#157F8F#157F8F

#157F8F is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.091 H 210.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#157F8F
RGBrgb(21, 127, 143)
HSLhsl(188, 74%, 32%)
HSVhsv(188, 85%, 56%)
CMYKcmyk(85.3%, 11.2%, 0%, 43.9%)
CIE-LABlab(48.66, -22.06, -16.67)
CIE-LCHlch(48.66, 27.65, 217.08°)
OKLaboklab(54.88% -0.0777 -0.0465)
OKLCHoklch(54.88% 0.091 210.9)
XYZxyz(12.8544, 17.3197, 28.6468)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F8F #8F2515
analogous
#158F62 #157F8F #15428F
triadic
#157F8F #8F157F #7F8F15
tetradic
#157F8F #62158F #8F2515 #428F15
square
#157F8F #62158F #8F2515 #428F15
split-complementary
#157F8F #8F1542 #8F6215
monochromatic
#052024 #0D505A #157F8F #1DAEC4 #3CCDE2

Accessibility & contrast

On white

4.70
#157F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157F8F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F8F#FFFFFF#000000##FFFFFF
##157F8F1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A90
Deuteranopia (green-blind)
#626F8F
Tritanopia (blue-blind)
#008684
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #157f8f;
/* rgb */ color: rgb(21, 127, 143);
/* oklch */ color: oklch(54.9% 0.091 210.9);
Tailwind
colors: {
  custom: {
    50: '#6ca4af',
    500: '#157f8f',
    950: '#000000',
  },
}
SCSS
$custom: #157f8f;
$custom-light: #6ca4af;
$custom-dark: #000000;
JSON
{
  "hex": "#157f8f",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 143
  },
  "hsl": {
    "h": 187.869,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.09054,
    "h": 210.9
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#157F8F
secondary
#C24F3E
accent
#4F37F1
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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