Skip to content

#2d11ff

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

RGB
45, 17, 255
HSL
247°, 100%, 53%
CMYK
82, 93, 0, 0
Luminance
0.0818

Every format

HEX#2d11ff
RGBrgb(45, 17, 255)
HSLhsl(247, 100%, 53%)
CMYKcmyk(82%, 93%, 0%, 0%)
LABlab(34.4 77.0 -104.4)
LCHlch(34.4 129.7 306.4)
OKLCHoklch(0.469 0.302 269.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d11ff on white: 7.97:1
AA ✓ pass · AA-large · AAA
Aa
#2d11ff on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green6.7%
Blue100.0%

CMYK percentages

Cyan82.4%
Magenta93.3%
Yellow0.0%
Key (black)0.0%

Color previews

#2d11ff text on a black background

contrast 2.64:1

Card sample

#2d11ff text on a white background

contrast 7.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d11ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d11ff in the Color Lab