Skip to content

#2913ff

a balanced, electric blue · warm · closest name: blue

RGB
41, 19, 255
HSL
246°, 100%, 54%
CMYK
84, 93, 0, 0
Luminance
0.0816

Every format

HEX#2913ff
RGBrgb(41, 19, 255)
HSLhsl(246, 100%, 54%)
CMYKcmyk(84%, 93%, 0%, 0%)
LABlab(34.3 76.5 -104.5)
LCHlch(34.3 129.5 306.2)
OKLCHoklch(0.468 0.302 268.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2913ff on white: 7.98:1
AA ✓ pass · AA-large · AAA
Aa
#2913ff on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green7.5%
Blue100.0%

CMYK percentages

Cyan83.9%
Magenta92.5%
Yellow0.0%
Key (black)0.0%

Color previews

#2913ff text on a black background

contrast 2.63:1

Card sample

#2913ff text on a white background

contrast 7.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2913ff;
Background color
Panel with #2913ff background
background-color: #2913ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2913ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(41, 19, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 19, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2913ff;
background: linear-gradient(135deg, #2913ff, #C613FF);

Monochromatic scale

Palettes built from #2913ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2913ff in the Color Lab