Skip to content

#320dfd

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

RGB
50, 13, 253
HSL
249°, 98%, 52%
CMYK
80, 95, 0, 1
Luminance
0.0806

Every format

HEX#320dfd
RGBrgb(50, 13, 253)
HSLhsl(249, 98%, 52%)
CMYKcmyk(80%, 95%, 0%, 1%)
LABlab(34.1 77.3 -103.7)
LCHlch(34.1 129.4 306.7)
OKLCHoklch(0.467 0.299 270.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#320dfd on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#320dfd on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.6%
Green5.1%
Blue99.2%

CMYK percentages

Cyan80.2%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#320dfd text on a black background

contrast 2.61:1

Card sample

#320dfd text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #320dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #320dfd in the Color Lab