Skip to content

#2d0eee

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

RGB
45, 14, 238
HSL
248°, 89%, 49%
CMYK
81, 94, 0, 7
Luminance
0.0705

Every format

HEX#2d0eee
RGBrgb(45, 14, 238)
HSLhsl(248, 89%, 49%)
CMYKcmyk(81%, 94%, 0%, 7%)
LABlab(31.9 73.4 -98.9)
LCHlch(31.9 123.1 306.6)
OKLCHoklch(0.447 0.286 270.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d0eee on white: 8.72:1
AA ✓ pass · AA-large · AAA
Aa
#2d0eee on black: 2.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green5.5%
Blue93.3%

CMYK percentages

Cyan81.1%
Magenta94.1%
Yellow0.0%
Key (black)6.7%

Color previews

#2d0eee text on a black background

contrast 2.41:1

Card sample

#2d0eee text on a white background

contrast 8.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d0eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d0eee in the Color Lab