Skip to content

#296df9

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

RGB
41, 109, 249
HSL
220°, 95%, 57%
CMYK
84, 56, 0, 2
Luminance
0.1825

Every format

HEX#296df9
RGBrgb(41, 109, 249)
HSLhsl(220, 95%, 57%)
CMYKcmyk(84%, 56%, 0%, 2%)
LABlab(49.8 30.1 -75.6)
LCHlch(49.8 81.3 291.7)
OKLCHoklch(0.578 0.220 262.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#296df9 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#296df9 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green42.7%
Blue97.6%

CMYK percentages

Cyan83.5%
Magenta56.2%
Yellow0.0%
Key (black)2.4%

Color previews

#296df9 text on a black background

contrast 4.65:1

Card sample

#296df9 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #296df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #296df9 in the Color Lab