Skip to content

#296df4

a balanced, electric blue · cool · closest name: royalblue

RGB
41, 109, 244
HSL
220°, 90%, 56%
CMYK
83, 55, 0, 4
Luminance
0.1794

Every format

HEX#296df4
RGBrgb(41, 109, 244)
HSLhsl(220, 90%, 56%)
CMYKcmyk(83%, 55%, 0%, 4%)
LABlab(49.4 28.3 -73.4)
LCHlch(49.4 78.6 291.1)
OKLCHoklch(0.574 0.214 262.1)

Copy-ready code

/* CSS */
color: #296df4;
background-color: #296df4;
/* Tailwind (arbitrary) */
class="text-[#296df4] bg-[#296df4]"
/* SCSS */
$brand: #296df4;
/* SwiftUI */
Color(red: 0.161, green: 0.427, blue: 0.957)
/* Android */
Color.parseColor("#296df4")

Accessibility — WCAG contrast

Aa
#296df4 on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#296df4 on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green42.7%
Blue95.7%

CMYK percentages

Cyan83.2%
Magenta55.3%
Yellow0.0%
Key (black)4.3%

Color previews

#296df4 text on a black background

contrast 4.59:1

Card sample

#296df4 text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #296df4;
Background color
Panel with #296df4 background
background-color: #296df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #296df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(41, 109, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 109, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #296df4;
background: linear-gradient(135deg, #296df4, #6C29F4);

Monochromatic scale

Palettes built from #296df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #296df4 in the Color Lab