Skip to content

#3f2eee

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

RGB
63, 46, 238
HSL
245°, 85%, 56%
CMYK
74, 81, 0, 7
Luminance
0.0918

Every format

HEX#3f2eee
RGBrgb(63, 46, 238)
HSLhsl(245, 85%, 56%)
CMYKcmyk(74%, 81%, 0%, 7%)
LABlab(36.3 64.0 -91.5)
LCHlch(36.3 111.6 305.0)
OKLCHoklch(0.479 0.265 273.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2eee on white: 7.40:1
AA ✓ pass · AA-large · AAA
Aa
#3f2eee on black: 2.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green18.0%
Blue93.3%

CMYK percentages

Cyan73.5%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#3f2eee text on a black background

contrast 2.84:1

Card sample

#3f2eee text on a white background

contrast 7.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f2eee;
Background color
Panel with #3f2eee background
background-color: #3f2eee;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3f2eee in the Color Lab