Skip to content

#157eb2

a dark, electric cyan · cool · closest name: steelblue

RGB
21, 126, 178
HSL
200°, 79%, 39%
CMYK
88, 29, 0, 30
Luminance
0.1830

Every format

HEX#157eb2
RGBrgb(21, 126, 178)
HSLhsl(200, 79%, 39%)
CMYKcmyk(88%, 29%, 0%, 30%)
LABlab(49.9 -8.9 -35.2)
LCHlch(49.9 36.3 255.8)
OKLCHoklch(0.563 0.118 237.6)

Copy-ready code

/* CSS */
color: #157eb2;
background-color: #157eb2;
/* Tailwind (arbitrary) */
class="text-[#157eb2] bg-[#157eb2]"
/* SCSS */
$brand: #157eb2;
/* SwiftUI */
Color(red: 0.082, green: 0.494, blue: 0.698)
/* Android */
Color.parseColor("#157eb2")

Accessibility — WCAG contrast

Aa
#157eb2 on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#157eb2 on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red8.2%
Green49.4%
Blue69.8%

CMYK percentages

Cyan88.2%
Magenta29.2%
Yellow0.0%
Key (black)30.2%

Color previews

#157eb2 text on a black background

contrast 4.66:1

Card sample

#157eb2 text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #157eb2;
Background color
Panel with #157eb2 background
background-color: #157eb2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #157eb2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(21, 126, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 126, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #157eb2;
background: linear-gradient(135deg, #157eb2, #1515B2);

Monochromatic scale

Palettes built from #157eb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #157eb2 in the Color Lab