#157E8F#157E8F

#157E8F is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.090 H 212.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#157E8F
RGBrgb(21, 126, 143)
HSLhsl(188, 74%, 32%)
HSVhsv(188, 85%, 56%)
CMYKcmyk(85.3%, 11.9%, 0%, 43.9%)
CIE-LABlab(48.34, -21.53, -17.16)
CIE-LCHlch(48.34, 27.53, 218.56°)
OKLaboklab(54.62% -0.0767 -0.0479)
OKLCHoklch(54.62% 0.09 212)
XYZxyz(12.7259, 17.0627, 28.6040)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E8F #8F2615
analogous
#158F63 #157E8F #15418F
triadic
#157E8F #8F157E #7E8F15
tetradic
#157E8F #63158F #8F2615 #418F15
square
#157E8F #63158F #8F2615 #418F15
split-complementary
#157E8F #8F1541 #8F6315
monochromatic
#052024 #0D4F5A #157E8F #1DADC4 #3CCBE2

Accessibility & contrast

On white

4.76
#157E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#157E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E8F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E8F#FFFFFF#000000##FFFFFF
##157E8F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717990
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #157e8f;
/* rgb */ color: rgb(21, 126, 143);
/* oklch */ color: oklch(54.6% 0.090 212.0);
Tailwind
colors: {
  custom: {
    50: '#6ca3af',
    500: '#157e8f',
    950: '#000000',
  },
}
SCSS
$custom: #157e8f;
$custom-light: #6ca3af;
$custom-dark: #000000;
JSON
{
  "hex": "#157e8f",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 143
  },
  "hsl": {
    "h": 188.361,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.09042,
    "h": 212
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#157E8F
secondary
#C2503E
accent
#5137F1
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #157E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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