#157D8E#157D8E

#157D8E is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.090 H 212.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#157D8E
RGBrgb(21, 125, 142)
HSLhsl(188, 74%, 32%)
HSVhsv(188, 85%, 56%)
CMYKcmyk(85.2%, 12%, 0%, 44.3%)
CIE-LABlab(47.98, -21.35, -17.12)
CIE-LCHlch(47.98, 27.36, 218.73°)
OKLaboklab(54.31% -0.0761 -0.0478)
OKLCHoklch(54.31% 0.09 212.1)
XYZxyz(12.5232, 16.7781, 28.1644)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D8E #8E2615
analogous
#158E63 #157D8E #15408E
triadic
#157D8E #8E157D #7D8E15
tetradic
#157D8E #63158E #8E2615 #408E15
square
#157D8E #63158E #8E2615 #408E15
split-complementary
#157D8E #8E1540 #8E6315
monochromatic
#051F23 #0D4E59 #157D8E #1DACC3 #3BCBE2

Accessibility & contrast

On white

4.82
#157D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#157D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D8E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D8E#FFFFFF#000000##FFFFFF
##157D8E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788F
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #157d8e;
/* rgb */ color: rgb(21, 125, 142);
/* oklch */ color: oklch(54.3% 0.090 212.1);
Tailwind
colors: {
  custom: {
    50: '#6ba3af',
    500: '#157d8e',
    950: '#000000',
  },
}
SCSS
$custom: #157d8e;
$custom-light: #6ba3af;
$custom-dark: #000000;
JSON
{
  "hex": "#157d8e",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 142
  },
  "hsl": {
    "h": 188.43,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.08989,
    "h": 212.1
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#157D8E
secondary
#C2503D
accent
#5137F1
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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