Skip to content

#4400ee

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

RGB
68, 0, 238
HSL
257°, 100%, 47%
CMYK
71, 100, 0, 7
Luminance
0.0740

Every format

HEX#4400ee
RGBrgb(68, 0, 238)
HSLhsl(257, 100%, 47%)
CMYKcmyk(71%, 100%, 0%, 7%)
LABlab(32.7 76.2 -97.5)
LCHlch(32.7 123.8 308.0)
OKLCHoklch(0.456 0.283 276.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4400ee on white: 8.47:1
AA ✓ pass · AA-large · AAA
Aa
#4400ee on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red26.7%
Green0.0%
Blue93.3%

CMYK percentages

Cyan71.4%
Magenta100.0%
Yellow0.0%
Key (black)6.7%

Color previews

#4400ee text on a black background

contrast 2.48:1

Card sample

#4400ee text on a white background

contrast 8.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4400ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4400ee in the Color Lab