Skip to content

#403eeb

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

RGB
64, 62, 235
HSL
241°, 81%, 58%
CMYK
73, 74, 0, 8
Luminance
0.1053

Every format

HEX#403eeb
RGBrgb(64, 62, 235)
HSLhsl(241, 81%, 58%)
CMYKcmyk(73%, 74%, 0%, 8%)
LABlab(38.8 55.4 -85.7)
LCHlch(38.8 102.0 302.8)
OKLCHoklch(0.496 0.248 273.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#403eeb on white: 6.76:1
AA ✓ pass · AA-large · AAA
Aa
#403eeb on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green24.3%
Blue92.2%

CMYK percentages

Cyan72.8%
Magenta73.6%
Yellow0.0%
Key (black)7.8%

Color previews

#403eeb text on a black background

contrast 3.11:1

Card sample

#403eeb text on a white background

contrast 6.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #403eeb;
Background color
Panel with #403eeb background
background-color: #403eeb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #403eeb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 62, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 62, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403eeb;
background: linear-gradient(135deg, #403eeb, #B33EEB);

Monochromatic scale

Palettes built from #403eeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #403eeb in the Color Lab