Skip to content

#2c1cfd

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

RGB
44, 28, 253
HSL
244°, 98%, 55%
CMYK
83, 89, 0, 1
Luminance
0.0846

Every format

HEX#2c1cfd
RGBrgb(44, 28, 253)
HSLhsl(244, 98%, 55%)
CMYKcmyk(83%, 89%, 0%, 1%)
LABlab(34.9 73.8 -102.3)
LCHlch(34.9 126.2 305.8)
OKLCHoklch(0.472 0.296 269.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2c1cfd on white: 7.80:1
AA ✓ pass · AA-large · AAA
Aa
#2c1cfd on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green11.0%
Blue99.2%

CMYK percentages

Cyan82.6%
Magenta88.9%
Yellow0.0%
Key (black)0.8%

Color previews

#2c1cfd text on a black background

contrast 2.69:1

Card sample

#2c1cfd text on a white background

contrast 7.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c1cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c1cfd in the Color Lab