Skip to content

#7eb2f0

a light, electric blue · cool · closest name: steelblue

RGB
126, 178, 240
HSL
213°, 79%, 72%
CMYK
48, 26, 0, 6
Luminance
0.4257

Every format

HEX#7eb2f0
RGBrgb(126, 178, 240)
HSLhsl(213, 79%, 72%)
CMYKcmyk(48%, 26%, 0%, 6%)
LABlab(71.3 -0.7 -36.2)
LCHlch(71.3 36.2 269.0)
OKLCHoklch(0.751 0.106 253.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7eb2f0 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#7eb2f0 on black: 9.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red49.4%
Green69.8%
Blue94.1%

CMYK percentages

Cyan47.5%
Magenta25.8%
Yellow0.0%
Key (black)5.9%

Color previews

#7eb2f0 text on a black background

contrast 9.51:1

Card sample

#7eb2f0 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7eb2f0;
Background color
Panel with #7eb2f0 background
background-color: #7eb2f0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7eb2f0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(126, 178, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(126, 178, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7eb2f0;
background: linear-gradient(135deg, #7eb2f0, #967EF0);

Monochromatic scale

Palettes built from #7eb2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7eb2f0 in the Color Lab