Skip to content

#4100ee

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

RGB
65, 0, 238
HSL
256°, 100%, 47%
CMYK
73, 100, 0, 7
Luminance
0.0730

Every format

HEX#4100ee
RGBrgb(65, 0, 238)
HSLhsl(256, 100%, 47%)
CMYKcmyk(73%, 100%, 0%, 7%)
LABlab(32.5 76.1 -97.9)
LCHlch(32.5 124.0 307.9)
OKLCHoklch(0.454 0.284 275.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4100ee on white: 8.54:1
AA ✓ pass · AA-large · AAA
Aa
#4100ee on black: 2.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.5%
Green0.0%
Blue93.3%

CMYK percentages

Cyan72.7%
Magenta100.0%
Yellow0.0%
Key (black)6.7%

Color previews

#4100ee text on a black background

contrast 2.46:1

Card sample

#4100ee text on a white background

contrast 8.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4100ee;
Background color
Panel with #4100ee background
background-color: #4100ee;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4100ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4100ee in the Color Lab