Skip to content

#002ef1

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

RGB
0, 46, 241
HSL
229°, 100%, 47%
CMYK
100, 81, 0, 6
Luminance
0.0830

Every format

HEX#002ef1
RGBrgb(0, 46, 241)
HSLhsl(229, 100%, 47%)
CMYKcmyk(100%, 81%, 0%, 6%)
LABlab(34.6 62.8 -96.1)
LCHlch(34.6 114.8 303.1)
OKLCHoklch(0.463 0.280 264.1)

Copy-ready code

/* CSS */
color: #002ef1;
background-color: #002ef1;
/* Tailwind (arbitrary) */
class="text-[#002ef1] bg-[#002ef1]"
/* SCSS */
$brand: #002ef1;
/* SwiftUI */
Color(red: 0.000, green: 0.180, blue: 0.945)
/* Android */
Color.parseColor("#002ef1")

Accessibility — WCAG contrast

Aa
#002ef1 on white: 7.89:1
AA ✓ pass · AA-large · AAA
Aa
#002ef1 on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green18.0%
Blue94.5%

CMYK percentages

Cyan100.0%
Magenta80.9%
Yellow0.0%
Key (black)5.5%

Color previews

#002ef1 text on a black background

contrast 2.66:1

Card sample

#002ef1 text on a white background

contrast 7.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #002ef1;
Background color
Panel with #002ef1 background
background-color: #002ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #002ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 46, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 46, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002ef1;
background: linear-gradient(135deg, #002ef1, #7300F1);

Monochromatic scale

Palettes built from #002ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #002ef1 in the Color Lab