Skip to content

#403dfd

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

RGB
64, 61, 253
HSL
241°, 98%, 62%
CMYK
75, 76, 0, 1
Luminance
0.1152

Every format

HEX#403dfd
RGBrgb(64, 61, 253)
HSLhsl(241, 98%, 62%)
CMYKcmyk(75%, 76%, 0%, 1%)
LABlab(40.4 61.4 -93.1)
LCHlch(40.4 111.6 303.4)
OKLCHoklch(0.513 0.270 272.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#403dfd on white: 6.36:1
AA ✓ pass · AA-large · AAA
Aa
#403dfd on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green23.9%
Blue99.2%

CMYK percentages

Cyan74.7%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#403dfd text on a black background

contrast 3.30:1

Card sample

#403dfd text on a white background

contrast 6.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #403dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #403dfd in the Color Lab