Skip to content

#404ace

a balanced, vivid blue · warm · closest name: slateblue

RGB
64, 74, 206
HSL
236°, 59%, 53%
CMYK
69, 64, 0, 19
Luminance
0.1044

Every format

HEX#404ace
RGBrgb(64, 74, 206)
HSLhsl(236, 59%, 53%)
CMYKcmyk(69%, 64%, 0%, 19%)
LABlab(38.6 38.9 -69.4)
LCHlch(38.6 79.5 299.3)
OKLCHoklch(0.487 0.201 273.0)

Copy-ready code

/* CSS */
color: #404ace;
background-color: #404ace;
/* Tailwind (arbitrary) */
class="text-[#404ace] bg-[#404ace]"
/* SCSS */
$brand: #404ace;
/* SwiftUI */
Color(red: 0.251, green: 0.290, blue: 0.808)
/* Android */
Color.parseColor("#404ace")

Accessibility — WCAG contrast

Aa
#404ace on white: 6.80:1
AA ✓ pass · AA-large · AAA
Aa
#404ace on black: 3.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green29.0%
Blue80.8%

CMYK percentages

Cyan68.9%
Magenta64.1%
Yellow0.0%
Key (black)19.2%

Color previews

#404ace text on a black background

contrast 3.09:1

Card sample

#404ace text on a white background

contrast 6.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #404ace;
Background color
Panel with #404ace background
background-color: #404ace;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 74, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 74, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #404ace;
background: linear-gradient(135deg, #404ace, #9540CE);

Monochromatic scale

Palettes built from #404ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #404ace in the Color Lab