Skip to content

#2f11fd

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

RGB
47, 17, 253
HSL
248°, 98%, 53%
CMYK
81, 93, 0, 1
Luminance
0.0810

Every format

HEX#2f11fd
RGBrgb(47, 17, 253)
HSLhsl(248, 98%, 53%)
CMYKcmyk(81%, 93%, 0%, 1%)
LABlab(34.2 76.6 -103.6)
LCHlch(34.2 128.8 306.5)
OKLCHoklch(0.468 0.299 269.8)

Copy-ready code

/* CSS */
color: #2f11fd;
background-color: #2f11fd;
/* Tailwind (arbitrary) */
class="text-[#2f11fd] bg-[#2f11fd]"
/* SCSS */
$brand: #2f11fd;
/* SwiftUI */
Color(red: 0.184, green: 0.067, blue: 0.992)
/* Android */
Color.parseColor("#2f11fd")

Accessibility — WCAG contrast

Aa
#2f11fd on white: 8.02:1
AA ✓ pass · AA-large · AAA
Aa
#2f11fd on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green6.7%
Blue99.2%

CMYK percentages

Cyan81.4%
Magenta93.3%
Yellow0.0%
Key (black)0.8%

Color previews

#2f11fd text on a black background

contrast 2.62:1

Card sample

#2f11fd text on a white background

contrast 8.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f11fd;
Background color
Panel with #2f11fd background
background-color: #2f11fd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 17, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 17, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f11fd;
background: linear-gradient(135deg, #2f11fd, #CC11FD);

Monochromatic scale

Palettes built from #2f11fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f11fd in the Color Lab