Skip to content

#6c64eb

a light, electric blue · warm · closest name: slateblue

RGB
108, 100, 235
HSL
244°, 77%, 66%
CMYK
54, 57, 0, 8
Luminance
0.1830

Every format

HEX#6c64eb
RGBrgb(108, 100, 235)
HSLhsl(244, 77%, 66%)
CMYKcmyk(54%, 57%, 0%, 8%)
LABlab(49.9 39.6 -67.5)
LCHlch(49.9 78.2 300.4)
OKLCHoklch(0.584 0.197 281.0)

Copy-ready code

/* CSS */
color: #6c64eb;
background-color: #6c64eb;
/* Tailwind (arbitrary) */
class="text-[#6c64eb] bg-[#6c64eb]"
/* SCSS */
$brand: #6c64eb;
/* SwiftUI */
Color(red: 0.424, green: 0.392, blue: 0.922)
/* Android */
Color.parseColor("#6c64eb")

Accessibility — WCAG contrast

Aa
#6c64eb on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#6c64eb on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green39.2%
Blue92.2%

CMYK percentages

Cyan54.0%
Magenta57.4%
Yellow0.0%
Key (black)7.8%

Color previews

#6c64eb text on a black background

contrast 4.66:1

Card sample

#6c64eb text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c64eb;
Background color
Panel with #6c64eb background
background-color: #6c64eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 100, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 100, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c64eb;
background: linear-gradient(135deg, #6c64eb, #C664EB);

Monochromatic scale

Palettes built from #6c64eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c64eb in the Color Lab