Skip to content

#2e1eee

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

RGB
46, 30, 238
HSL
245°, 86%, 53%
CMYK
81, 87, 0, 7
Luminance
0.0768

Every format

HEX#2e1eee
RGBrgb(46, 30, 238)
HSLhsl(245, 86%, 53%)
CMYKcmyk(81%, 87%, 0%, 7%)
LABlab(33.3 69.3 -96.5)
LCHlch(33.3 118.8 305.7)
OKLCHoklch(0.456 0.279 270.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2e1eee on white: 8.28:1
AA ✓ pass · AA-large · AAA
Aa
#2e1eee on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green11.8%
Blue93.3%

CMYK percentages

Cyan80.7%
Magenta87.4%
Yellow0.0%
Key (black)6.7%

Color previews

#2e1eee text on a black background

contrast 2.54:1

Card sample

#2e1eee text on a white background

contrast 8.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 30, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 30, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e1eee;
background: linear-gradient(135deg, #2e1eee, #B91EEE);

Monochromatic scale

Palettes built from #2e1eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e1eee in the Color Lab