Skip to content

#2d2cfe

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

RGB
45, 44, 254
HSL
240°, 99%, 58%
CMYK
82, 83, 0, 0
Luminance
0.0952

Every format

HEX#2d2cfe
RGBrgb(45, 44, 254)
HSLhsl(240, 99%, 58%)
CMYKcmyk(82%, 83%, 0%, 0%)
LABlab(37.0 68.5 -99.5)
LCHlch(37.0 120.8 304.5)
OKLCHoklch(0.486 0.288 269.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d2cfe on white: 7.23:1
AA ✓ pass · AA-large · AAA
Aa
#2d2cfe on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green17.3%
Blue99.6%

CMYK percentages

Cyan82.3%
Magenta82.7%
Yellow0.0%
Key (black)0.4%

Color previews

#2d2cfe text on a black background

contrast 2.90:1

Card sample

#2d2cfe text on a white background

contrast 7.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d2cfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d2cfe in the Color Lab